feat: add swap space and try hybrid sleep again
This commit is contained in:
parent
452f2f4cc9
commit
659d79265e
2 changed files with 9 additions and 9 deletions
|
|
@ -24,7 +24,14 @@
|
|||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
# Add swap file for hibernation support
|
||||
# This creates a 96GB swap file to match your RAM capacity
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/swapfile";
|
||||
size = 98304; # 96GB in MB
|
||||
}
|
||||
];
|
||||
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue