-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathboot.nix
41 lines (41 loc) · 1 KB
/
boot.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
boot.blacklistedKernelModules = [ "psmouse" ];
boot.extraModprobeConfig = ''
options cfg80211 ieee80211_regdom="NL"
options iwlwifi power_save=1
options snd_hda_intel power_save=1
'';
boot.initrd.availableKernelModules = [
"xhci_pci"
"thunderbolt"
"vmd"
"nvme"
"rtsx_pci_sdmmc"
];
boot.initrd.compressor = "xz";
boot.initrd.kernelModules = [
"i915"
"xe"
];
boot.initrd.luks.devices = {
nixps = {
crypttabExtraOpts = [ "tpm2-device=auto" ];
device = "/dev/disk/by-uuid/0cebcb03-e616-4d3b-8044-cd1715c4899d";
};
};
boot.initrd.systemd = {
enable = true;
emergencyAccess = true;
};
boot.kernelModules = [ "kvm-intel" ];
boot.kernelParams = [
"quiet"
"i915.force_probe=!9a49"
"xe.force_probe=9a49"
];
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.consoleMode = "1"; # bigger font in boot menu
boot.loader.timeout = 1;
boot.tmp.useTmpfs = true;
}