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