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; hybrid-sleep.enable = false;
}; };
# Enable support for building ARM64 packages
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
# Build Nix packages for other hosts. # Build Nix packages for other hosts.
# Runs every Saturday at 4 AM # Runs every Saturday at 4 AM
systemd.services."build-hosts" = { systemd.services."build-hosts" = {

View file

@ -23,8 +23,8 @@
# Alternative garbage collection system to nix.gc.automatic # Alternative garbage collection system to nix.gc.automatic
clean = { clean = {
enable = true; enable = true;
dates = "daily"; dates = "weekly"; # Runs at 12:00 AM on Mondays
extraArgs = "--keep-since 7d --keep 10"; # Keep the last 10 entries extraArgs = "--keep-since 14d --keep 10"; # By default, keep the last 10 entries (or two weeks) of generations
}; };
}; };
# Do some additional Nano configuration # Do some additional Nano configuration