mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
add overlayfrom
This commit is contained in:
parent
4da9ef467c
commit
1996233a7f
3 changed files with 13 additions and 9 deletions
|
@ -5,14 +5,15 @@
|
|||
}:
|
||||
let
|
||||
inherit (builtins) map;
|
||||
inherit (lib) pkgFromSystem pkgsFromSystem;
|
||||
inherit (lib) pkgFromSystem pkgsFromSystem overlayFrom;
|
||||
pkgs = import inputs.nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
inputs.lix-module.overlays.default
|
||||
inputs.hyprland-contrib.overlays.default
|
||||
inputs.nixpkgs-wayland.overlay
|
||||
];
|
||||
overlays = map [
|
||||
"lix-module"
|
||||
"hyprland-contrib"
|
||||
"nixpkgs-wayland" ]
|
||||
overlayFrom
|
||||
;
|
||||
};
|
||||
pkgsFrom = pkgsFromSystem system;
|
||||
pkgFrom = pkgFromSystem system;
|
||||
|
|
|
@ -75,6 +75,7 @@ let
|
|||
# defaultPackageGeneric = system: flake: "${flake}.packages.${system}.default";
|
||||
pkgsFromSystem = system: flake: inputs."${flake}".packages."${system}";
|
||||
pkgFromSystem = system: flake: (pkgsFromSystem system flake).default;
|
||||
overlayFrom = flake: inputs."${flake}".overlays.default;
|
||||
in
|
||||
{
|
||||
inherit
|
||||
|
@ -91,5 +92,6 @@ in
|
|||
flakeVer
|
||||
pkgsFromSystem
|
||||
pkgFromSystem
|
||||
overlayFrom
|
||||
;
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
enabled,
|
||||
pkgFrom,
|
||||
pkgsFrom,
|
||||
overlayFrom,
|
||||
...
|
||||
}:
|
||||
|
||||
|
@ -56,8 +57,8 @@ mkOizysModule config "hyprland" {
|
|||
]);
|
||||
|
||||
nixpkgs.overlays = [
|
||||
inputs.hyprland-contrib.overlays.default
|
||||
# inputs.nixpkgs-wayland.overlay
|
||||
# inputs.hyprland.overlays.default
|
||||
(overlayFrom "hyprland-contrib")
|
||||
# (overlayFrom "nixpkgs-wayland")
|
||||
# (overlayFrom "hyprland")
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue