Commit 5e3b10466787

Vincent Demeester <vincent@sbr.pm>
2019-01-14 16:36:53
nix-auto-update: fix auto-update script (add a big fat export PATH)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent afcdd82
Changed files (2)
modules/profiles/desktop.nix
@@ -98,9 +98,9 @@ in
           ''
           ''
             Identifier      "ErgoDox"
-            MatchIsKeyboard "on"
             #MatchVendor     "ErgoDox_EZ"
             #MatchProduct    "ErgoDox_EZ"
+            MatchIsKeyboard "on"
             MatchUSBID      "feed:1307"
             Driver          "evdev"
             Option          "XkbLayout"     "fr"
modules/profiles/nix-auto-update.nix
@@ -66,6 +66,7 @@ in
         };
         path = [ pkgs.gnutar pkgs.xz pkgs.git config.nix.package.out pkgs.commonsCompress ];
         script = ''
+          export PATH=/run/current-system/sw/bin
           cd /etc/nixos/
           git pull --autostash --rebase
           nix-channel --update