nixfleet/shell/default.nix

26 lines
493 B
Nix

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