From 9f6e80d4e357e69897d84f82d756e50e43d48455 Mon Sep 17 00:00:00 2001 From: NullBite Date: Tue, 26 Nov 2024 17:12:42 -0500 Subject: [PATCH] nullbox: enable swap --- hosts/nullbox/hardware-configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/nullbox/hardware-configuration.nix b/hosts/nullbox/hardware-configuration.nix index bca77aa..5e14157 100644 --- a/hosts/nullbox/hardware-configuration.nix +++ b/hosts/nullbox/hardware-configuration.nix @@ -53,7 +53,9 @@ options = [ "subvol=snapshots/@mcserver" ]; }; - swapDevices = [ ]; + swapDevices = + [ { device = "/dev/disk/by-uuid/4b86cbd6-6fc5-47d4-9d44-35eec59cb785"; } + ]; # 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