From 62d698309b0970183c79d61097dabe5fea41028a Mon Sep 17 00:00:00 2001 From: schererleander Date: Sun, 26 Oct 2025 19:51:21 +0100 Subject: configure swap file --- hosts/sachiel/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hosts/sachiel/configuration.nix') diff --git a/hosts/sachiel/configuration.nix b/hosts/sachiel/configuration.nix index 9af8143..d5310bd 100644 --- a/hosts/sachiel/configuration.nix +++ b/hosts/sachiel/configuration.nix @@ -15,6 +15,13 @@ boot.loader.grub.configurationLimit = 2; zramSwap.enable = true; + swapDevices = [ + { + device = "/var/swapfile"; + size = 4096; + } + ]; + networking = { hostName = host; domain = "schererleander.de"; -- cgit v1.3.1