diff options
| author | seth <[email protected]> | 2024-02-04 16:40:38 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-02-04 16:41:47 -0500 |
| commit | 5f848623dff7cbcd21911032e5fd4c77bcf7d413 (patch) | |
| tree | 7462ae7abec5beee71443702b330e3eeca1a407f /repo/shell.nix | |
| parent | 371235663a4e8d783dfc4294bb0b10cd3206c9c6 (diff) | |
tree-wide: better separate/name some things
Diffstat (limited to 'repo/shell.nix')
| -rw-r--r-- | repo/shell.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/repo/shell.nix b/repo/shell.nix new file mode 100644 index 0000000..7442907 --- /dev/null +++ b/repo/shell.nix @@ -0,0 +1,34 @@ +{ + perSystem = { + pkgs, + config, + inputs', + self', + ... + }: { + devShells = { + default = pkgs.mkShellNoCC { + shellHook = config.pre-commit.installationScript; + packages = with pkgs; + [ + nix + + # format + lint + actionlint + self'.formatter + deadnix + nil + statix + + # utils + deploy-rs + fzf + just + config.terranix.package + ] + ++ lib.optional stdenv.isDarwin [inputs'.darwin.packages.darwin-rebuild] + ++ lib.optionals stdenv.isLinux [nixos-rebuild inputs'.agenix.packages.agenix]; + }; + }; + }; +} |
