From 40532928cd568673024e5948d2aa6f150c5a292b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 14 Apr 2017 18:49:36 +0200 Subject: Need git in upgrade service --- bragi.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/bragi.nix b/bragi.nix index fe6122b6..6db772c2 100644 --- a/bragi.nix +++ b/bragi.nix @@ -424,6 +424,7 @@ in rec { system.autoUpgrade.enable = true; system.stateVersion = "16.09"; + systemd.services."nixos-upgrade".path = with pkgs; [ git ]; systemd.services."nixos-upgrade".preStart = '' git -C /etc/nixos pull git -C /etc/nixos submodule update -- cgit v1.2.3