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