mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-28 11:47:12 +08:00
pureintent: enable swap
This commit is contained in:
parent
7458bed162
commit
3e918ef856
1 changed files with 3 additions and 1 deletions
|
|
@ -27,7 +27,9 @@
|
|||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [
|
||||
{ device = "/var/lib/swapfile"; size = 32 * 1024; }
|
||||
];
|
||||
|
||||
# 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