summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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