1
Fork 0

Disable hibernation and fix swap for dirae

This commit is contained in:
caem 2023-07-06 18:02:45 +02:00
parent 20b6028945
commit f13122fe7a

View file

@ -8,6 +8,7 @@
boot.initrd.availableKernelModules = [ "uhci_hcd" "ahci" "virtio_pci" "virtio_blk" ]; boot.initrd.availableKernelModules = [ "uhci_hcd" "ahci" "virtio_pci" "virtio_blk" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.kernelParams = [ "nohibernate" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.zfs.devNodes = "/dev/disk/by-path"; boot.zfs.devNodes = "/dev/disk/by-path";
@ -32,7 +33,7 @@
}; };
swapDevices = [ swapDevices = [
{ devices = "/dev/disk/by-uuid/a2a0b9a3-52c9-4eb6-b03b-bcbbae0547a3"; } { device = "/dev/disk/by-uuid/a2a0b9a3-52c9-4eb6-b03b-bcbbae0547a3"; }
]; ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking