nixdots/options/home/wms.nix

32 lines
691 B
Nix
Raw Normal View History

2024-06-09 20:40:50 +00:00
{
config,
lib,
...
}: let
inherit (lib) mkEnableOption mkOption types;
in {
options.myOptions.home-manager.wms = {
hyprland = {
enable = mkEnableOption ''
Hyprland wayland compositor.
'';
monitor = mkOption {
type = types.listOf types.str;
default = [];
description = "Monitor configuration.";
};
};
2024-06-09 20:40:50 +00:00
isWayland = mkOption {
type = types.bool;
default = with config.myOptions.home-manager.wms; (hyprland.enable);
description = ''
Whether to enable Wayland exclusive modules, this contains a variety
of packages, modules, overlays, XDG portals and so on.
'';
};
};
}