diff options
-rw-r--r-- | sif/boot.nix | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/sif/boot.nix b/sif/boot.nix index 7fffd7a2..61c63f24 100644 --- a/sif/boot.nix +++ b/sif/boot.nix | |||
@@ -1,15 +1,15 @@ | |||
1 | { config, lib, pkgs, ... }: | 1 | { config, lib, pkgs, ... }: |
2 | 2 | ||
3 | { | 3 | { |
4 | boot.initrd = { | 4 | boot = { |
5 | luks.devices = [ | 5 | initrd = { |
6 | { name = "nvm0"; device = "/dev/disk/by-uuid/fe641e81-0812-4181-a5f6-382ebba509bb"; } | 6 | luks.devices = [ |
7 | { name = "nvm1"; device = "/dev/disk/by-uuid/43df1ba8-1728-4193-8855-920a82d4494a"; } | 7 | { name = "nvm0"; device = "/dev/disk/by-uuid/fe641e81-0812-4181-a5f6-382ebba509bb"; } |
8 | ]; | 8 | { name = "nvm1"; device = "/dev/disk/by-uuid/43df1ba8-1728-4193-8855-920a82d4494a"; } |
9 | 9 | ]; | |
10 | kernelParams = [ "intel_pstate=no_hwp" "quiet" ]; | 10 | kernelModules = [ "dm-snapshot" ]; |
11 | kernelModules = [ "dm-snapshot" ]; | 11 | availableKernelModules = [ "fbcon" "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; |
12 | availableKernelModules = [ "fbcon" "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; | 12 | }; |
13 | 13 | ||
14 | # Use the systemd-boot EFI boot loader. | 14 | # Use the systemd-boot EFI boot loader. |
15 | loader = { | 15 | loader = { |
@@ -19,5 +19,7 @@ | |||
19 | }; | 19 | }; |
20 | 20 | ||
21 | plymouth.enable = true; | 21 | plymouth.enable = true; |
22 | |||
23 | kernelParams = [ "intel_pstate=no_hwp" "quiet" ]; | ||
22 | }; | 24 | }; |
23 | } | 25 | } |