Add hyprland monitor config option

This commit is contained in:
Joshua Yuen 2025-07-29 13:31:01 -04:00
parent 062895e4a9
commit 8f871e8f58
Signed by: josh
GPG Key ID: 502720BC22ED411C
2 changed files with 9 additions and 0 deletions

View File

@ -24,6 +24,8 @@ in
};
xwayland.enable = true;
settings = {
monitor = cfg.monitor;
general = {
"$modifier" = "SUPER";
};

View File

@ -23,5 +23,12 @@ in
The terminal to use for Hyprland.
'';
};
monitor = mkOption {
type = types.listOf types.str;
default = [ ",preferred,auto,1" ];
description = ''
Monitors to use for Hyprland.
'';
};
};
}