diff --git a/configuration.nix b/configuration.nix index c527dcc..70fc385 100644 --- a/configuration.nix +++ b/configuration.nix @@ -127,6 +127,17 @@ with pkgs; "--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 programs.git = {