summaryrefslogtreecommitdiff
path: root/sif
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-11-10 16:59:48 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-11-10 16:59:48 +0100
commit9c6ebfa11a2cfc38129e637640d9d530e74bfe9e (patch)
treecf51c23fb63a8043d67865eedd068ba62f2ea4e4 /sif
parent381ad0652306f08eacaecb179344a95462544958 (diff)
downloadnixos-9c6ebfa11a2cfc38129e637640d9d530e74bfe9e.tar
nixos-9c6ebfa11a2cfc38129e637640d9d530e74bfe9e.tar.gz
nixos-9c6ebfa11a2cfc38129e637640d9d530e74bfe9e.tar.bz2
nixos-9c6ebfa11a2cfc38129e637640d9d530e74bfe9e.tar.xz
nixos-9c6ebfa11a2cfc38129e637640d9d530e74bfe9e.zip
...
Diffstat (limited to 'sif')
-rw-r--r--sif/boot.nix20
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}