diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-04-14 18:49:36 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-04-14 18:49:36 +0200 |
| commit | 40532928cd568673024e5948d2aa6f150c5a292b (patch) | |
| tree | 0a954a45bef8e8c1d0e8aa91b7ebc16e35eca454 | |
| parent | 91fd61d95fdede3e1ce228da2f1e6a48e8714360 (diff) | |
| download | nixos-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.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 |
