flake: move 'devShells' to 'flake/'
This commit is contained in:
parent
fc02519c4f
commit
1ae2bca445
3 changed files with 19 additions and 12 deletions
13
flake.nix
13
flake.nix
|
|
@ -122,18 +122,7 @@
|
|||
|
||||
checks = import ./flake/checks.nix inputs system;
|
||||
|
||||
devShells = {
|
||||
default = pkgs.mkShell {
|
||||
name = "NixOS-config";
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
gitAndTools.pre-commit
|
||||
nixpkgs-fmt
|
||||
];
|
||||
|
||||
inherit (self.checks.${system}.pre-commit) shellHook;
|
||||
};
|
||||
};
|
||||
devShells = import ./flake/dev-shells.nix inputs system;
|
||||
|
||||
packages =
|
||||
let
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue