2022-12-04 22:29:12 +03:00
|
|
|
inputs: {
|
2022-05-21 13:07:55 +03:00
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
2023-12-14 21:02:20 +03:00
|
|
|
}: let
|
2023-08-16 13:39:20 +03:00
|
|
|
inherit (pkgs.stdenv.hostPlatform) system;
|
2023-12-14 21:02:20 +03:00
|
|
|
cfg = config.programs.hyprland;
|
2022-12-09 17:25:57 +03:00
|
|
|
|
2023-12-14 21:02:20 +03:00
|
|
|
package = inputs.self.packages.${system}.hyprland;
|
|
|
|
portalPackage = inputs.self.packages.${system}.xdg-desktop-portal-hyprland.override {
|
2023-09-10 20:11:21 +03:00
|
|
|
hyprland = cfg.finalPackage;
|
2022-12-09 17:25:57 +03:00
|
|
|
};
|
2022-05-21 13:07:55 +03:00
|
|
|
in {
|
2023-12-14 21:02:20 +03:00
|
|
|
config = {
|
|
|
|
programs.hyprland = {
|
|
|
|
package = lib.mkDefault package;
|
|
|
|
portalPackage = lib.mkDefault portalPackage;
|
2022-09-07 00:45:24 +03:00
|
|
|
};
|
2022-05-21 13:07:55 +03:00
|
|
|
};
|
|
|
|
}
|