summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--machines/betsy/hardware-configuration.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/machines/betsy/hardware-configuration.nix b/machines/betsy/hardware-configuration.nix
index 96227a1..6343ee0 100644
--- a/machines/betsy/hardware-configuration.nix
+++ b/machines/betsy/hardware-configuration.nix
@@ -57,7 +57,9 @@
options = [ "subvol=@log" "compress-force=zstd:5" "noatime" ];
};
- swapDevices = [ ];
+ swapDevices = [{
+ device = "/swap/swapfile";
+ }];
# 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