From 7f08c57d198672a19539ce636cb9ae4d878dff43 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 27 Oct 2022 12:31:59 +0200 Subject: [PATCH] Add git-crypt to the auto-upgrade service --- configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 = {