diff options
Diffstat (limited to 'hostnix/creep/hardware-configuration.nix')
| -rw-r--r-- | hostnix/creep/hardware-configuration.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hostnix/creep/hardware-configuration.nix b/hostnix/creep/hardware-configuration.nix index ed21088..0dce739 100644 --- a/hostnix/creep/hardware-configuration.nix +++ b/hostnix/creep/hardware-configuration.nix @@ -23,7 +23,11 @@ fsType = "vfat"; }; - swapDevices = [ ]; + swapDevices = [ { + device = "/var/lib/swap"; + size = 4 * 1024; + randomEncryption.enable = true; + } ]; # 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 |
