2021-11-16 20:57:04 +01:00
|
|
|
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
|
|
|
# and may be overwritten by future invocations. Please make changes
|
|
|
|
|
# to /etc/nixos/configuration.nix instead.
|
|
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2021-11-22 15:12:19 +01:00
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "aesni_intel" "cryptd" ];
|
|
|
|
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
2021-11-16 20:57:04 +01:00
|
|
|
|
boot.extraModulePackages = [ ];
|
2021-11-22 20:54:18 +01:00
|
|
|
|
boot.kernelParams = [
|
|
|
|
|
"mem_sleep_default=deep"
|
|
|
|
|
]
|
|
|
|
|
|
2021-11-22 15:12:19 +01:00
|
|
|
|
boot.initrd.luks.devices."cryptlvm".device = "/dev/sda2";
|
2021-11-16 20:57:04 +01:00
|
|
|
|
fileSystems."/" =
|
|
|
|
|
{ device = "/dev/disk/by-label/nixos";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
|
|
|
|
{ device = "/dev/disk/by-label/BOOT";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices =
|
|
|
|
|
[ { device = "/dev/disk/by-label/swap"; }
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
}
|
2021-11-22 15:12:19 +01:00
|
|
|
|
|