pkgs/overlay.nix: Refactore overlay to a flake output attribute
This commit is contained in:
@@ -86,11 +86,16 @@
|
||||
};
|
||||
} // helper.mapToColmenaHosts self.nixosConfigurations;
|
||||
|
||||
overlays = {
|
||||
clerie = import ./pkgs/overlay.nix;
|
||||
default = self.overlays.clerie;
|
||||
};
|
||||
|
||||
packages = nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ] (system: let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
(import ./pkgs/overlay.nix)
|
||||
self.overlays.clerie
|
||||
(_: _: {
|
||||
inherit (agenix.packages.${system})
|
||||
agenix;
|
||||
|
Reference in New Issue
Block a user