aboutsummaryrefslogtreecommitdiffstats
path: root/modules/nixos/sils/bootloader.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/sils/bootloader.nix')
-rw-r--r--modules/nixos/sils/bootloader.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/modules/nixos/sils/bootloader.nix b/modules/nixos/sils/bootloader.nix
deleted file mode 100644
index fc0e0f3..0000000
--- a/modules/nixos/sils/bootloader.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- config,
- lib,
- ...
-}: let
- btl = config.sils.bootloader;
-in {
- options.sils.bootloader = lib.mkOption {
- type = lib.types.enum ["lanzaboote" "grub"];
- default = "lanzaboote";
- description = "Which bootloader to use.";
- };
- config.boot =
- if btl == "lanzaboote"
- then {
- lanzaboote = {
- enable = true;
- configurationLimit = 10;
- pkiBundle = "/etc/secureboot";
- settings = {
- editor = false;
- };
- };
- }
- else if btl == "grub"
- then {
- loader.grub.enable = true;
- }
- else {};
-}