From 4d8a194e4e8950aa94b1a2b68999f5def3a273ca Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 10 Nov 2019 16:58:22 +0100 Subject: syntax --- sif/boot.nix | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'sif') 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 @@ { config, lib, pkgs, ... }: { - boot = { + boot.initrd = { initrd = { luks.devices = [ { name = "nvm0"; device = "/dev/disk/by-uuid/fe641e81-0812-4181-a5f6-382ebba509bb"; } @@ -10,17 +10,16 @@ kernelModules = [ "dm-snapshot" ]; availableKernelModules = [ "fbcon" "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; }; - }; - - # Use the systemd-boot EFI boot loader. - loader = { - systemd-boot.enable = true; - efi.canTouchEfiVariables = true; - timeout = null; - }; + # Use the systemd-boot EFI boot loader. + loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + timeout = null; + }; - plymouth.enable = true; + plymouth.enable = true; - kernelParams = [ "intel_pstate=no_hwp" "quiet" ]; + kernelParams = [ "intel_pstate=no_hwp" "quiet" ]; + }; } -- cgit v1.2.3