hostconfig/gandalf: Allow to suspend

This commit is contained in:
Quentin Boyer 2024-07-24 20:46:39 +02:00
parent 069703605e
commit 20a9829be6
2 changed files with 5 additions and 1 deletions

View file

@ -27,7 +27,9 @@
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
swapDevices =
[ { device = "/dev/disk/by-uuid/6993932f-5b29-4207-915a-2f185ec9f485"; }
];
# 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

View file

@ -3,6 +3,8 @@
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelParams = [ "amd_pstate=active" ];
boot.resumeDevice = "/dev/disk/by-uuid/6993932f-5b29-4207-915a-2f185ec9f485";
powerManagement = {
enable = true;
powertop.enable = true;