summaryrefslogtreecommitdiff
path: root/hel.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-07-15 12:51:55 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-07-15 12:51:55 +0200
commit2ce47665ae600e107925a89c01f06050df82331f (patch)
tree4d9eb6846c32ff4c760ed9d35202649bf139f198 /hel.nix
parent9943f54a7e6a17d3e3c0566c9b50e98c26896270 (diff)
downloadnixos-2ce47665ae600e107925a89c01f06050df82331f.tar
nixos-2ce47665ae600e107925a89c01f06050df82331f.tar.gz
nixos-2ce47665ae600e107925a89c01f06050df82331f.tar.bz2
nixos-2ce47665ae600e107925a89c01f06050df82331f.tar.xz
nixos-2ce47665ae600e107925a89c01f06050df82331f.zip
Be more aggressive than pull
Diffstat (limited to 'hel.nix')
-rw-r--r--hel.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/hel.nix b/hel.nix
index 737ba305..bc65d25d 100644
--- a/hel.nix
+++ b/hel.nix
@@ -558,4 +558,12 @@
558 disable spoolss = yes 558 disable spoolss = yes
559 ''; 559 '';
560 }; 560 };
561
562 systemd.services."nixos-upgrade" = {
563 path = with pkgs; [ git ];
564 preStart = ''
565 git -C /etc/nixos fetch --recurse-submodules
566 git -C /etc/nixos reset --hard origin/master
567 '';
568 };
561} 569}