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

@ -1,4 +1,9 @@
{
osConfig,
...
}: let
cfg = osConfig.myOptions.home-manager.wms.hyprland;
in {
wayland.windowManager.hyprland.settings = {
input = {
# Keyboard layout settings
@ -20,6 +25,8 @@
natural_scroll = false;
};
};
monitor = cfg.monitor;
};
}