diff --git a/hosts/Dimaga/default.nix b/hosts/Dimaga/default.nix index 515f1c0..b2e4363 100644 --- a/hosts/Dimaga/default.nix +++ b/hosts/Dimaga/default.nix @@ -50,6 +50,9 @@ in hybrid-sleep.enable = false; }; + # Enable support for building ARM64 packages + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + # Build Nix packages for other hosts. # Runs every Saturday at 4 AM systemd.services."build-hosts" = { diff --git a/modules/common.nix b/modules/common.nix index 661407c..de0e25f 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -23,8 +23,8 @@ # Alternative garbage collection system to nix.gc.automatic clean = { enable = true; - dates = "daily"; - extraArgs = "--keep-since 7d --keep 10"; # Keep the last 10 entries + dates = "weekly"; # Runs at 12:00 AM on Mondays + extraArgs = "--keep-since 14d --keep 10"; # By default, keep the last 10 entries (or two weeks) of generations }; }; # Do some additional Nano configuration