diff options
Diffstat (limited to '')
-rw-r--r-- | Taskfile.dist.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Taskfile.dist.yml b/Taskfile.dist.yml new file mode 100644 index 0000000..e0e8240 --- /dev/null +++ b/Taskfile.dist.yml @@ -0,0 +1,16 @@ +--- +version: '3' + +tasks: + update-firefox-addons: + vars: + input: "{{ .ROOT_DIR }}/modules/nixos/firefox/addons.json" + output: "{{ .ROOT_DIR }}/modules/nixos/firefox/addons.nix" + sources: + - "{{ .input }}" + generates: + - "{{ .output }}" + cmds: + - nix run sourcehut:~rycee/mozilla-addons-to-nix {{ .input }} {{ .output }} + - nix fmt {{ .output }} + - nix run .#deadnix -- --edit --quiet {{ .output }} |