diff options
| author | schererleander <leander@schererleander.de> | 2025-10-26 19:51:21 +0100 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-10-26 19:52:09 +0100 |
| commit | 62d698309b0970183c79d61097dabe5fea41028a (patch) | |
| tree | 01b62daa3e8a2dc162e67097bee2e817b7fca5a4 | |
| parent | eb56e20bd6aaa40fc9430cd47eff6e3e16cd4f2c (diff) | |
configure swap file
| -rw-r--r-- | hosts/sachiel/configuration.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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"; |
