From 6e7605a5627e65d39e2cd19b5e6ecdcd693cdfde Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Thu, 12 Feb 2026 00:34:43 -0500 Subject: [PATCH] fix: remove pre-commit, gc settings --- home/modules/git.nix | 2 -- hosts/xps15/configuration.nix | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/home/modules/git.nix b/home/modules/git.nix index 783f8f5..38a0b8a 100644 --- a/home/modules/git.nix +++ b/home/modules/git.nix @@ -6,8 +6,6 @@ }: { - home.packages = [ pkgs.pre-commit ]; - programs.git = { enable = true; lfs.enable = true; diff --git a/hosts/xps15/configuration.nix b/hosts/xps15/configuration.nix index 20c8416..edcdf5b 100644 --- a/hosts/xps15/configuration.nix +++ b/hosts/xps15/configuration.nix @@ -145,6 +145,7 @@ ]; nix.settings = { + auto-optimise-store = true; experimental-features = [ "nix-command" "flakes" @@ -155,5 +156,11 @@ ]; }; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; + system.stateVersion = "24.11"; }