From c650df2204c6dd0e62bd3e305debbec11cf16359 Mon Sep 17 00:00:00 2001 From: caandt Date: Fri, 15 Nov 2024 23:37:53 -0600 Subject: [PATCH] add swap --- hosts/hyuganatsu/hardware-configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/hyuganatsu/hardware-configuration.nix b/hosts/hyuganatsu/hardware-configuration.nix index 2f6c4e9..e548ca7 100644 --- a/hosts/hyuganatsu/hardware-configuration.nix +++ b/hosts/hyuganatsu/hardware-configuration.nix @@ -25,9 +25,12 @@ fileSystems."/boot" = { device = "/dev/disk/by-uuid/1FF4-8F2A"; fsType = "vfat"; + options = ["fmask=0022" "dmask=0022"]; }; - swapDevices = []; + swapDevices = [ + {device = "/dev/disk/by-uuid/fb2a814c-00ac-4458-a06a-fb8244ff953a";} + ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's