summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bragi.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/bragi.nix b/bragi.nix
index a5eaa2d2..fe6122b6 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -423,4 +423,9 @@ in rec {
423 423
424 system.autoUpgrade.enable = true; 424 system.autoUpgrade.enable = true;
425 system.stateVersion = "16.09"; 425 system.stateVersion = "16.09";
426
427 systemd.services."nixos-upgrade".preStart = ''
428 git -C /etc/nixos pull
429 git -C /etc/nixos submodule update
430 '';
426} 431}