From 0fe9a18a96b8bc8b588fa9299c1284ff9c89d720 Mon Sep 17 00:00:00 2001 From: fruchti Date: Sun, 2 Jun 2024 10:21:55 +0200 Subject: [PATCH] Rupert: Add swap --- hosts/Rupert.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/Rupert.nix b/hosts/Rupert.nix index aad751c..38c0cf5 100644 --- a/hosts/Rupert.nix +++ b/hosts/Rupert.nix @@ -146,6 +146,11 @@ in SUBSYSTEM=="video4linux", ATTRS{idProduct}=="0002", ATTRS{idVendor}=="1d6b", SYMLINK+="hdmi_capture" ''; + swapDevices = [{ + device = "/swapfile"; + size = 8 * 1024; + }]; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave