feat(device): add monitors to device

This commit is contained in:
uttarayan21
2024-04-05 20:38:38 +05:30
parent fe8629838e
commit 90eb3e4530
3 changed files with 25 additions and 17 deletions

View File

@@ -98,6 +98,10 @@
system = "x86_64-linux";
user = "servius";
isNix = true;
monitors = {
primary = "DP-1";
secondary = "DP-4";
};
}
{
name = "genzai";
@@ -135,6 +139,10 @@
if (builtins.hasAttr "hasGui" device)
then device.hasGui
else true;
monitors =
if (builtins.hasAttr "monitors" device)
then device.monitors
else null;
system = device.system;
name = device.name;
user = device.user;