Allow specifying monitors from os config

This commit is contained in:
ItsDrike 2024-06-09 23:08:39 +02:00
parent 6da71787f1
commit 6180f89b72
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
3 changed files with 25 additions and 4 deletions

View file

@ -6,9 +6,18 @@
inherit (lib) mkEnableOption mkOption types;
in {
options.myOptions.home-manager.wms = {
hyprland.enable = mkEnableOption ''
Hyprland wayland compositor.
'';
hyprland = {
enable = mkEnableOption ''
Hyprland wayland compositor.
'';
monitor = mkOption {
type = types.listOf types.str;
default = [];
description = "Monitor configuration.";
};
};
isWayland = mkOption {
type = types.bool;