1
This commit is contained in:
2022-07-13 20:00:40 +02:00
parent a22f3ba44d
commit bea86fa372

View File

@ -6,11 +6,13 @@
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules =
boot = {
initrd.availableKernelModules =
[ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
initrd.kernelModules = [ ];
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/b87bbc3d-edd3-434a-b4a3-859bf62b8a17";
@ -37,7 +39,12 @@
fsType = "ext4";
};
swapDevices = [ ];
swapDevices = lib.mkForce [
# {
# device = "/var/swap";
# size = 1024 * 16 * 2; # twice the RAM for hibernation
# }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's