feat: bind workspace to monitors

This commit is contained in:
DACHXY 2025-02-18 22:09:12 +08:00
parent 71093e1c0f
commit 8c498d10ec
3 changed files with 20 additions and 0 deletions

View file

@ -17,6 +17,10 @@ let
nvidia-bus-id = "PCI:1:0:0";
nvidia-offload-enabled = config.hardware.nvidia.prime.offload.enable;
device-name = "dn-pre7780";
monitors = [
"DP-3"
"HDMI-A-2"
];
in
{
imports = [
@ -61,6 +65,7 @@ in
username
nvidia-offload-enabled
device-name
monitors
;
};
users."${username}" = {