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