1
0
Fork 0

All: change clean to weekly; Dimaga: add support for ARM64 compilations

This commit is contained in:
Aires 2024-07-25 15:45:27 -04:00
parent fe1af48c0d
commit eba6d8fa21
2 changed files with 5 additions and 2 deletions

View file

@ -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" = {

View file

@ -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