select nh over nix for gc

This commit is contained in:
Kyle Isom 2025-09-01 14:07:08 -07:00
parent 240bf9384a
commit 126cb71edb
1 changed files with 8 additions and 6 deletions

View File

@ -12,12 +12,13 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
nix.settings.auto-optimise-store = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 10d";
};
# disabled in favor of nh (see pkgs.nix)
# nix.settings.auto-optimise-store = true;
# nix.gc = {
# automatic = true;
# dates = "weekly";
# options = "--delete-older-than 10d";
# };
# Set your time zone.
time.timeZone = "America/Los_Angeles";
@ -138,6 +139,7 @@
programs.ssh.askPassword = "ksshaskpass";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.trusted-users = ["kyle"];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions