diff --git a/flake.nix b/flake.nix index e289545..206d8a9 100644 --- a/flake.nix +++ b/flake.nix @@ -164,13 +164,6 @@ nixosConfigurations = genSystems inputs src (src + "/systems"); checks = import ./checks.nix { inherit inputs forEachSystem formatter; }; - devShells = import ./shell.nix { - inherit - forEachSystem - nixpkgs - checks - sops-nix - ; - }; + devShells = import ./shell.nix { inherit inputs forEachSystem checks; }; }; } diff --git a/shell.nix b/shell.nix index e1d3a28..7b224bb 100644 --- a/shell.nix +++ b/shell.nix @@ -1,14 +1,14 @@ { + inputs, forEachSystem, - nixpkgs, checks, - sops-nix, ... }: forEachSystem ( system: let + inherit (inputs) nixpkgs sops-nix; pkgs = nixpkgs.legacyPackages.${system}; pre-commit = pkgs.mkShell { inherit (checks.${system}.pre-commit-check) shellHook;