Commit f08c012d3b62

Vincent Demeester <vincent@sbr.pm>
2019-11-08 18:03:03
Add a nr/dev file with yq and yamllint
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent a5359b6
Changed files (1)
modules
profiles
modules/profiles/dev.nix
@@ -33,8 +33,14 @@ in
         mercurial
         ripgrep
         shfmt
-        yq
       ];
+      xdg.configFile."nr/dev" = {
+        text = builtins.toJSON [
+          {cmd = "yq";}
+          {cmd = "yamllint"; pkg = "python37Packages.yamllint";}
+        ];
+        onChange = "${pkgs.nur.repos.vdemeester.nr}/bin/nr dev";
+      };
     }
   ]);
 }