anemone/kernel: hibernation setup
This commit is contained in:
parent
ef22d9e96c
commit
79a6b783bc
1 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
};
|
||||
initrd = {
|
||||
availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
systemd.enable = true;
|
||||
verbose = false;
|
||||
};
|
||||
kernelModules = [ "kvm-amd" ];
|
||||
|
|
@ -22,6 +23,11 @@
|
|||
];
|
||||
};
|
||||
|
||||
swapDevices = [{
|
||||
device = "/persist/swapfile";
|
||||
size = 16 * 1024;
|
||||
}];
|
||||
|
||||
powerManagement.cpufreq.min = 400000;
|
||||
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue