2024-04-05 18:06:32 +00:00
|
|
|
{
|
2024-06-09 20:40:50 +00:00
|
|
|
osConfig,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (lib) mkIf;
|
|
|
|
|
2024-06-10 13:11:49 +00:00
|
|
|
hyprPkgs = (import ./packages {inherit pkgs;});
|
2024-06-09 20:40:50 +00:00
|
|
|
|
|
|
|
cfg = osConfig.myOptions.home-manager.wms.hyprland;
|
|
|
|
in {
|
|
|
|
imports = [
|
|
|
|
./config
|
|
|
|
];
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2024-06-10 13:11:49 +00:00
|
|
|
home.packages = [
|
|
|
|
hyprPkgs.hyprland-move-window
|
2024-06-21 10:19:03 +00:00
|
|
|
hyprPkgs.hyprland-screenshot
|
2024-06-10 13:11:49 +00:00
|
|
|
pkgs.brightnessctl
|
2024-06-21 10:19:03 +00:00
|
|
|
pkgs.hyprpicker
|
2024-06-10 13:11:49 +00:00
|
|
|
hyprPkgs.brightness
|
2024-06-09 20:40:50 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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
|
|
|
}
|