2025-01-09 08:08:30 -08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
cfg = config.marleyos.wayland.hyprland;
|
|
|
|
in {
|
2025-01-13 21:05:10 -08:00
|
|
|
options.marleyos.wayland.hyprland.enable = lib.mkEnableOption "hyprland";
|
2025-01-09 08:08:30 -08:00
|
|
|
|
2025-01-13 21:05:10 -08:00
|
|
|
config = lib.mkIf cfg.enable {
|
2025-01-13 20:31:44 -08:00
|
|
|
marleyos.programs.hyprlock.enable = true;
|
|
|
|
|
2025-01-09 08:08:30 -08:00
|
|
|
programs.hyprland = {
|
|
|
|
enable = true;
|
|
|
|
withUWSM = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|