From 77c7970265080b8c174ab9bfb61cfe102e9be20a Mon Sep 17 00:00:00 2001 From: arcnmx Date: Sun, 8 Sep 2024 18:15:45 -0700 Subject: [PATCH] chore: swap files for the underpowered --- systems/kasen/nixos.nix | 6 ++++++ systems/sakuya/nixos.nix | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/systems/kasen/nixos.nix b/systems/kasen/nixos.nix index 897e7fb7..cc396ce8 100644 --- a/systems/kasen/nixos.nix +++ b/systems/kasen/nixos.nix @@ -24,6 +24,12 @@ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; fsType = "ext4"; }; + swapDevices = [ + { + device = "/swap0"; + size = 4096; + } + ]; networking.useNetworkd = true; systemd.network = { diff --git a/systems/sakuya/nixos.nix b/systems/sakuya/nixos.nix index 68a2bcee..71f98a6b 100644 --- a/systems/sakuya/nixos.nix +++ b/systems/sakuya/nixos.nix @@ -63,6 +63,12 @@ device = "/dev/disk/by-label/NIXOS_SD"; fsType = "ext4"; }; + swapDevices = [ + { + device = "/swap0"; + size = 4096; + } + ]; networking.useNetworkd = true; systemd.network = {