diff --git a/hosts/Dimaga/hardware-configuration.nix b/hosts/Dimaga/hardware-configuration.nix index 955619f..23c74a2 100644 --- a/hosts/Dimaga/hardware-configuration.nix +++ b/hosts/Dimaga/hardware-configuration.nix @@ -21,7 +21,7 @@ "/" = { device = "/dev/disk/by-uuid/76d67291-5aed-4f2a-b71f-1c2871cefe24"; fsType = "btrfs"; - options = [ "subvol=@" ]; + options = [ "subvol=@,compress=zstd" ]; }; "/boot" = { device = "/dev/disk/by-uuid/0C53-A645"; @@ -29,7 +29,10 @@ }; }; - swapDevices = [ ]; + swapDevices = [{ + device = "/swapfile"; + size = 4096; + }]; networking = { # Enables DHCP on each ethernet and wireless interface. In case of scripted networking diff --git a/modules/base/system.nix b/modules/base/system.nix index 44cd9d2..c9d55e1 100644 --- a/modules/base/system.nix +++ b/modules/base/system.nix @@ -84,7 +84,7 @@ with lib; gc = { automatic = true; dates = "daily"; - options = "--delete-older-than 30d"; + options = "--delete-older-than 14d"; }; # Configure NixOS to use the same software channel as Flakes