Add hyprland monitor config option

This commit is contained in:
Joshua Yuen 2025-07-29 13:31:01 -04:00
parent 7b3bc6823f
commit 30f110f5e6
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; xwayland.enable = true;
settings = { settings = {
monitor = cfg.monitor;
general = { general = {
"$modifier" = "SUPER"; "$modifier" = "SUPER";
}; };

View File

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