mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-31 09:27:25 +02:00
hostconfig/gandalf: Allow to suspend
This commit is contained in:
parent
069703605e
commit
20a9829be6
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue