blob: 74429072c3799c5f708cecb7b1e201cdd450e57f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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];
};
};
};
}
|