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