nixos-servers/shell.nix

15 lines
341 B
Nix
Raw Normal View History

{
self,
2024-10-28 13:12:06 +00:00
flake-utils,
nixpkgs,
...
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.default = pkgs.mkShell {
inherit (self.checks.${system}.pre-commit-check) shellHook;
buildInputs = self.checks.${system}.pre-commit-check.enabledPackages ++ [pkgs.ansible];
};
})