aboutsummaryrefslogtreecommitdiff
path: root/hosts/sachiel
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/sachiel')
-rw-r--r--hosts/sachiel/configuration.nix7
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";