2024-04-05 18:06:32 +00:00
|
|
|
{
|
2024-06-09 20:40:50 +00:00
|
|
|
osConfig,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (lib) mkIf;
|
|
|
|
|
|
|
|
inherit (import ./packages {inherit pkgs;}) dbus-hyprland-env;
|
|
|
|
|
|
|
|
cfg = osConfig.myOptions.home-manager.wms.hyprland;
|
|
|
|
in {
|
|
|
|
imports = [
|
|
|
|
./config
|
|
|
|
];
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
dbus-hyprland-env
|
|
|
|
];
|
|
|
|
|
|
|
|
wayland.windowManager.hyprland = {
|
2024-04-05 18:06:32 +00:00
|
|
|
enable = true;
|
2024-06-09 20:40:50 +00:00
|
|
|
xwayland.enable = true;
|
|
|
|
systemd = {
|
|
|
|
enable = true;
|
|
|
|
variables = ["--all"];
|
|
|
|
};
|
2024-04-05 18:06:32 +00:00
|
|
|
};
|
|
|
|
};
|
2024-03-23 22:06:58 +00:00
|
|
|
}
|