fix: share pkgs & overlays with home-manager
This commit is contained in:
parent
a04fca65d8
commit
f25ca7a488
11 changed files with 74 additions and 63 deletions
14
flake.nix
14
flake.nix
|
@ -75,12 +75,7 @@ rec {
|
|||
};
|
||||
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
nixpkgs-unstable,
|
||||
...
|
||||
}@inputs:
|
||||
inputs:
|
||||
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
|
@ -91,7 +86,7 @@ rec {
|
|||
./lib/flake-module.nix
|
||||
./hosts/flake-module.nix
|
||||
./home/flake-module.nix
|
||||
./overlays.nix
|
||||
./overlays/flake-module.nix
|
||||
];
|
||||
flake = {
|
||||
inherit nixConfig;
|
||||
|
@ -110,11 +105,6 @@ rec {
|
|||
...
|
||||
}:
|
||||
{
|
||||
_module.args.pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
devShells.default = pkgs.mkShell { inherit (config.checks.pre-commit) shellHook; };
|
||||
|
||||
checks = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue