nixos/modules/options/hyprland.nix

34 lines
603 B
Nix

{
config,
lib,
...
}:
with lib;
let
cfg = config.modules.hyprland;
in
{
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.
'';
};
};
}