From 526ff8bbcbbcc558f2d8d9d0a46ed142ee0069cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sun, 4 May 2025 14:08:04 +0200 Subject: [PATCH] System Gen5 @ 2025-05-04-14:08:03 by jonas@monolith --- hosts/monolith/hardware-configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/monolith/hardware-configuration.nix b/hosts/monolith/hardware-configuration.nix index 704b97b..20f7a24 100644 --- a/hosts/monolith/hardware-configuration.nix +++ b/hosts/monolith/hardware-configuration.nix @@ -28,7 +28,12 @@ options = ["fmask=0022" "dmask=0022"]; }; - swapDevices = []; + swapDevices = [ + { + device = "/.swapfile"; + size = 4 * 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