mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-15 09:57:17 +00:00
31 lines
690 B
Nix
31 lines
690 B
Nix
{
|
|
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.";
|
|
};
|
|
};
|
|
|
|
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.
|
|
'';
|
|
};
|
|
};
|
|
}
|