nixfleet/shell/default.nix
2023-04-17 18:12:52 +02:00

25 lines
470 B
Nix

{inputs, ...}: {
perSystem = {
pkgs,
config,
...
}: {
devShells.default = pkgs.mkShell {
name = "fleet-shell";
buildInputs = with pkgs; [
git
agenix
deadnix
statix
alejandra
disko
deploy
colmena
];
shellHook = ''
export RULES="$(git rev-parse --show-toplevel)/secrets/default.nix";
${config.pre-commit.installationScript}
'';
};
};
}