From 4a89c9c0e33da8c5b0eb1c236ed88ad11e8d2ac6 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Sat, 26 Nov 2022 22:52:29 -0600 Subject: [PATCH] vm1 | add swap device --- vm1/hardware-configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vm1/hardware-configuration.nix b/vm1/hardware-configuration.nix index dc2ad46..7bec958 100644 --- a/vm1/hardware-configuration.nix +++ b/vm1/hardware-configuration.nix @@ -23,7 +23,9 @@ fsType = "vfat"; }; - swapDevices = [ ]; + swapDevices = + [ { device = "/dev/vda2"; } + ]; # 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