nix-config/flake/dev-shells.nix

18 lines
322 B
Nix
Raw Normal View History

{ inputs, ... }:
2023-03-07 11:51:26 +01:00
{
perSystem = { self', pkgs, ... }: {
devShells = {
default = pkgs.mkShell {
name = "NixOS-config";
2023-03-07 11:51:26 +01:00
nativeBuildInputs = with pkgs; [
gitAndTools.pre-commit
nixpkgs-fmt
];
2023-03-07 11:51:26 +01:00
inherit (self'.checks.pre-commit) shellHook;
};
};
2023-03-07 11:51:26 +01:00
};
}