summaryrefslogtreecommitdiff
path: root/sif/boot.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-11-10 16:58:22 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-11-10 16:58:22 +0100
commit4d8a194e4e8950aa94b1a2b68999f5def3a273ca (patch)
tree006302af99d0435e80fa009d05542837b192a98a /sif/boot.nix
parent7f2b0c7f60764a16a24777f46c5b57781f941206 (diff)
downloadnixos-4d8a194e4e8950aa94b1a2b68999f5def3a273ca.tar
nixos-4d8a194e4e8950aa94b1a2b68999f5def3a273ca.tar.gz
nixos-4d8a194e4e8950aa94b1a2b68999f5def3a273ca.tar.bz2
nixos-4d8a194e4e8950aa94b1a2b68999f5def3a273ca.tar.xz
nixos-4d8a194e4e8950aa94b1a2b68999f5def3a273ca.zip
syntax
Diffstat (limited to 'sif/boot.nix')
-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}