summaryrefslogtreecommitdiff
path: root/dev/shell.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-27 03:22:50 -0500
committerseth <[email protected]>2023-12-27 03:22:50 -0500
commit6f2a3fc6e3e20e719a4d570d883d64023db00653 (patch)
tree821b13d563f79dae96e3d7217c26a2d63c0d56dc /dev/shell.nix
parent764cd39c144cdeb54afc352931267e0b059a7124 (diff)
flake: move dev components
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;
+ };
+ };
+ };
+}