15 lines
252 B
Nix
15 lines
252 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.modules.hyprland;
|
|
in {
|
|
options.modules.hyprland.enable = mkEnableOption "Enables Hyprland";
|
|
config.programs.hyprland = mkIf cfg.enable {
|
|
inherit (cfg) enable;
|
|
withUWSM = true;
|
|
};
|
|
}
|