home/git: move maintenance timers to git dir, add nixpkgs to scalar

This commit is contained in:
Oystein Kristoffer Tveit 2024-08-09 15:21:34 +02:00
parent 243777b690
commit 265cb309fd
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
3 changed files with 8 additions and 1 deletions

View File

@ -23,7 +23,6 @@ in {
./programs/tmux.nix ./programs/tmux.nix
./programs/zsh ./programs/zsh
./services/git-maintenance.nix
./services/nix-channel-update.nix ./services/nix-channel-update.nix
./services/pueue.nix ./services/pueue.nix

View File

@ -14,6 +14,10 @@ let
]; ];
in in
{ {
imports = [
./maintenance-timers.nix
];
# TODO: convert to template once nix-sops supports it in hm module # TODO: convert to template once nix-sops supports it in hm module
sops.secrets."git/nordicsemi-config" = { }; sops.secrets."git/nordicsemi-config" = { };
@ -84,6 +88,10 @@ in
maintenance.strategy = "incremental"; maintenance.strategy = "incremental";
scalar = {
repo = [ "${config.home.homeDirectory}/nixpkgs" ];
};
transfer.fsckObjects = true; transfer.fsckObjects = true;
receive.fsckObjects = true; receive.fsckObjects = true;