31 lines
552 B
Nix
31 lines
552 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
with lib;
|
|
{
|
|
options.modules.hyprland = {
|
|
enable = mkEnableOption {
|
|
default = false;
|
|
description = "Enable Hyprland";
|
|
};
|
|
terminal = mkOption {
|
|
type = types.enum [
|
|
"kitty"
|
|
"alacritty"
|
|
];
|
|
default = "kitty";
|
|
description = ''
|
|
The terminal to use for Hyprland.
|
|
'';
|
|
};
|
|
monitor = mkOption {
|
|
type = types.listOf types.str;
|
|
default = [ ",preferred,auto,1" ];
|
|
description = ''
|
|
Monitors to use for Hyprland.
|
|
'';
|
|
};
|
|
};
|
|
}
|