commit f08c012d3b62ecf9bd45267fcdd09abd1fae7aec parent a5359b633462adc9d338237c7ac60a51cd3dd492 Author: Vincent Demeester <vincent@sbr.pm> Date: Fri, 8 Nov 2019 18:03:03 +0100 Add a nr/dev file with yq and yamllint Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | modules/profiles/dev.nix | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/modules/profiles/dev.nix b/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"; + }; } ]); }