diff options
-rw-r--r-- | bragi.nix | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |