nix-config/flake/dev-shells.nix

18 lines
296 B
Nix
Raw Normal View History

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