diff --git a/home/home.nix b/home/home.nix index c07d23f..5936541 100644 --- a/home/home.nix +++ b/home/home.nix @@ -23,7 +23,6 @@ in { ./programs/tmux.nix ./programs/zsh - ./services/git-maintenance.nix ./services/nix-channel-update.nix ./services/pueue.nix diff --git a/home/programs/git/default.nix b/home/programs/git/default.nix index 03733cd..f376992 100644 --- a/home/programs/git/default.nix +++ b/home/programs/git/default.nix @@ -14,6 +14,10 @@ let ]; in { + imports = [ + ./maintenance-timers.nix + ]; + # TODO: convert to template once nix-sops supports it in hm module sops.secrets."git/nordicsemi-config" = { }; @@ -84,6 +88,10 @@ in maintenance.strategy = "incremental"; + scalar = { + repo = [ "${config.home.homeDirectory}/nixpkgs" ]; + }; + transfer.fsckObjects = true; receive.fsckObjects = true; diff --git a/home/services/git-maintenance.nix b/home/programs/git/maintenance-timers.nix similarity index 100% rename from home/services/git-maintenance.nix rename to home/programs/git/maintenance-timers.nix