diff options
| author | seth <[email protected]> | 2024-05-24 04:50:12 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-05-24 21:36:05 -0600 |
| commit | 6ceaeeb714b97984190981110120973d90d57ab4 (patch) | |
| tree | 37d66baec5654a73a250047a8bc7ab454c83b95f /devShells.nix | |
| parent | ef2b5ea9f2f9450eac7ac2a875a8f1c6599c1ed0 (diff) | |
flatten structure again
Diffstat (limited to 'devShells.nix')
| -rw-r--r-- | devShells.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/devShells.nix b/devShells.nix new file mode 100644 index 0000000..aa24e33 --- /dev/null +++ b/devShells.nix @@ -0,0 +1,33 @@ +{ + perSystem = { + lib, + pkgs, + inputs', + self', + ... + }: { + devShells = { + default = pkgs.mkShellNoCC { + packages = + [ + pkgs.nix + + # format + lint + pkgs.actionlint + self'.formatter + pkgs.deadnix + pkgs.nil + pkgs.statix + + # utils + pkgs.deploy-rs + pkgs.fzf + pkgs.just + self'.packages.opentofu + ] + ++ lib.optional pkgs.stdenv.isDarwin [inputs'.nix-darwin.packages.darwin-rebuild] + ++ lib.optionals pkgs.stdenv.isLinux [pkgs.nixos-rebuild inputs'.agenix.packages.agenix]; + }; + }; + }; +} |
