refactor(flake): refactor lib for flake-parts
This commit is contained in:
parent
c2b4d1adb9
commit
6f79c94f11
6 changed files with 70 additions and 71 deletions
|
@ -35,7 +35,7 @@
|
|||
type = "github";
|
||||
owner = "amadaluzia";
|
||||
repo = "wallpkgs";
|
||||
ref = "nord";
|
||||
ref = "docs-fixup";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
pankomacs = {
|
||||
|
@ -67,11 +67,10 @@
|
|||
};
|
||||
outputs = inputs @ {
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-parts,
|
||||
...
|
||||
}: let
|
||||
lib = nixpkgs.lib.extend (import ./lib {inherit inputs self;});
|
||||
inherit ((import ./lib {inherit inputs self;}).flake) lib;
|
||||
in
|
||||
flake-parts.lib.mkFlake {
|
||||
inherit inputs;
|
||||
|
@ -82,7 +81,7 @@
|
|||
./hosts
|
||||
./overlays
|
||||
./shells
|
||||
./lib
|
||||
];
|
||||
flake = {inherit lib;};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue