summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sif/boot.nix21
1 files changed, 10 insertions, 11 deletions
diff --git a/sif/boot.nix b/sif/boot.nix
index 00d42b99..26b2a0e7 100644
--- a/sif/boot.nix
+++ b/sif/boot.nix
@@ -1,7 +1,7 @@
1{ config, lib, pkgs, ... }: 1{ config, lib, pkgs, ... }:
2 2
3{ 3{
4 boot = { 4 boot.initrd = {
5 initrd = { 5 initrd = {
6 luks.devices = [ 6 luks.devices = [
7 { name = "nvm0"; device = "/dev/disk/by-uuid/fe641e81-0812-4181-a5f6-382ebba509bb"; } 7 { name = "nvm0"; device = "/dev/disk/by-uuid/fe641e81-0812-4181-a5f6-382ebba509bb"; }
@@ -10,17 +10,16 @@
10 kernelModules = [ "dm-snapshot" ]; 10 kernelModules = [ "dm-snapshot" ];
11 availableKernelModules = [ "fbcon" "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; 11 availableKernelModules = [ "fbcon" "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
12 }; 12 };
13 };
14
15 13
16 # Use the systemd-boot EFI boot loader. 14 # Use the systemd-boot EFI boot loader.
17 loader = { 15 loader = {
18 systemd-boot.enable = true; 16 systemd-boot.enable = true;
19 efi.canTouchEfiVariables = true; 17 efi.canTouchEfiVariables = true;
20 timeout = null; 18 timeout = null;
21 }; 19 };
22 20
23 plymouth.enable = true; 21 plymouth.enable = true;
24 22
25 kernelParams = [ "intel_pstate=no_hwp" "quiet" ]; 23 kernelParams = [ "intel_pstate=no_hwp" "quiet" ];
24 };
26} 25}