summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-04-14 18:49:36 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-04-14 18:49:36 +0200
commit40532928cd568673024e5948d2aa6f150c5a292b (patch)
tree0a954a45bef8e8c1d0e8aa91b7ebc16e35eca454
parent91fd61d95fdede3e1ce228da2f1e6a48e8714360 (diff)
downloadnixos-40532928cd568673024e5948d2aa6f150c5a292b.tar
nixos-40532928cd568673024e5948d2aa6f150c5a292b.tar.gz
nixos-40532928cd568673024e5948d2aa6f150c5a292b.tar.bz2
nixos-40532928cd568673024e5948d2aa6f150c5a292b.tar.xz
nixos-40532928cd568673024e5948d2aa6f150c5a292b.zip
Need git in upgrade service
-rw-r--r--bragi.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/bragi.nix b/bragi.nix
index fe6122b6..6db772c2 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -424,6 +424,7 @@ in rec {
424 system.autoUpgrade.enable = true; 424 system.autoUpgrade.enable = true;
425 system.stateVersion = "16.09"; 425 system.stateVersion = "16.09";
426 426
427 systemd.services."nixos-upgrade".path = with pkgs; [ git ];
427 systemd.services."nixos-upgrade".preStart = '' 428 systemd.services."nixos-upgrade".preStart = ''
428 git -C /etc/nixos pull 429 git -C /etc/nixos pull
429 git -C /etc/nixos submodule update 430 git -C /etc/nixos submodule update