refactor(flake): refactor lib for flake-parts

This commit is contained in:
Artur Manuel 2025-02-02 16:37:47 +00:00
commit 6f79c94f11
6 changed files with 70 additions and 71 deletions

View file

@ -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;};
};
}