summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-11-15 01:58:01 -0500
committerseth <[email protected]>2023-11-15 01:58:01 -0500
commit1a8e84358478d970616e70c6e635b9bf19506905 (patch)
tree233242e8959464485a7c6eaea3366a44017fe45b
parent6cce6f2211910a668976442cf66608b4fb780611 (diff)
flake: add jq to dev shell
-rw-r--r--dev.nix13
-rw-r--r--justfile2
2 files changed, 10 insertions, 5 deletions
diff --git a/dev.nix b/dev.nix
index 896dd84..86af47a 100644
--- a/dev.nix
+++ b/dev.nix
@@ -9,7 +9,7 @@
pre-commit = {
settings.hooks = {
actionlint.enable = true;
- alejandra.enable = true;
+ ${config.formatter.pname}.enable = true;
deadnix.enable = true;
nil.enable = true;
statix.enable = true;
@@ -22,12 +22,17 @@
packages = with pkgs;
[
actionlint
- alejandra
+
+ # nix
+ config.formatter
deadnix
- fzf
- just
nil
statix
+
+ # utils
+ fzf
+ just
+ jq
]
++ lib.optional stdenv.isLinux inputs'.agenix.packages.agenix;
};
diff --git a/justfile b/justfile
index 00cedab..ee5543c 100644
--- a/justfile
+++ b/justfile
@@ -38,7 +38,7 @@ deploy-all:
nix eval \
--json ".#apps.x86_64-linux" \
--apply builtins.attrNames \
- | , jq -c '.[]' | grep -v "dry-run" \
+ | jq -c '.[]' | grep -v "dry-run" \
| while read -r c; do nix run ".#$c"; done
[linux]