summaryrefslogtreecommitdiff
path: root/dev/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'dev/shell.nix')
-rw-r--r--dev/shell.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev/shell.nix b/dev/shell.nix
new file mode 100644
index 0000000..c0c9d20
--- /dev/null
+++ b/dev/shell.nix
@@ -0,0 +1,32 @@
+{
+ perSystem = {
+ pkgs,
+ config,
+ inputs',
+ ...
+ }: {
+ devShells = {
+ default = pkgs.mkShell {
+ shellHook = config.pre-commit.installationScript;
+ packages = with pkgs;
+ [
+ actionlint
+
+ # nix
+ config.formatter
+ deadnix
+ nil
+ statix
+
+ # utils
+ deploy-rs
+ fzf
+ just
+ jq
+ opentofu
+ ]
+ ++ lib.optional stdenv.isLinux inputs'.agenix.packages.agenix;
+ };
+ };
+ };
+}