Add git-crypt to the auto-upgrade service

This commit is contained in:
coolneng 2022-10-27 12:31:59 +02:00
parent 38dcea9e85
commit 7f08c57d19
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 11 additions and 0 deletions

View File

@ -127,6 +127,17 @@ with pkgs;
"--commit-lock-file" "--commit-lock-file"
]; ];
}; };
# Add git-crypt to the auto-upgrade service
systemd.services.nixos-upgrade.path = [
coreutils
gnutar
xz.bin
gzip
gitMinimal
config.nix.package.out
config.programs.ssh.package
git-crypt
];
# Configure git for auto-upgrade # Configure git for auto-upgrade
programs.git = { programs.git = {