diff --git a/configuration.nix b/configuration.nix index d057df8..39ccb05 100755 --- a/configuration.nix +++ b/configuration.nix @@ -28,7 +28,6 @@ "flakes" ]; }; - # cleanup packages older than 3 days from nix store gc = { # automatic = true; # dates = "weekly"; @@ -37,18 +36,18 @@ }; }; # Bootloader. - boot = { - loader = { - systemd-boot.enable = true; - systemd-boot.configurationLimit = 5; - efi.canTouchEfiVariables = true; - }; + # boot = { + # loader = { + # systemd-boot.enable = true; + # systemd-boot.configurationLimit = 5; + # efi.canTouchEfiVariables = true; + # }; # plymouth.enable = true; initrd = { - systemd.enable = true; - secrets = { - "/crypto_keyfile.bin" = null; - }; + # systemd.enable = true; + # secrets = { + # "/crypto_keyfile.bin" = null; + # }; # kernelParams = [ # "quiet" # ]; diff --git a/hosts/proserpina/configuration.nix b/hosts/proserpina/configuration.nix index 8be6a96..a608ffe 100644 --- a/hosts/proserpina/configuration.nix +++ b/hosts/proserpina/configuration.nix @@ -13,17 +13,26 @@ # Enable swap on luks boot = { loader = { - systemd-boot.enable = true; + systemd-boot = { + enable = true; + configurationLimit = 5; + }; efi = { canTouchEfiVariables = true; # efiSysMountPoint = "/boot/efi"; }; }; initrd = { - # luks.devices."luks-c2b8b1cb-6d01-4e7c-a659-1fcf01618c41" = { - # device = "/dev/disk/by-uuid/c2b8b1cb-6d01-4e7c-a659-1fcf01618c41"; + systemd.enable = true; + secrets = { + # "crypto_keyfile.bin" = null; + }; + luks = { + # devices."luks-DISK_UUID" = { + # device = "/dev/disk/by-uuid/DISK_UUID"; # keyfile = "/crypto_keyfile.bin"; - # }; + # }; + }; }; };