19 lines
304 B
Nix
19 lines
304 B
Nix
|
{
|
||
|
lib,
|
||
|
config,
|
||
|
...
|
||
|
}: let
|
||
|
inherit (lib) mkEnableOption mkIf;
|
||
|
|
||
|
cfg = config.marleyos.wayland.hyprland;
|
||
|
in {
|
||
|
options.marleyos.wayland.hyprland.enable = mkEnableOption "hyprland";
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
programs.hyprland = {
|
||
|
enable = true;
|
||
|
withUWSM = false;
|
||
|
};
|
||
|
};
|
||
|
}
|