Skip to content

Commit

Permalink
Add monitors configuation for kyuubi (gnome)
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed May 26, 2024
1 parent 6f902fd commit a29a598
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/hosts/kyuubi/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# monitorsXmlContent = builtins.readFile /home/mar/.config/monitors.xml;
# monitorsConfig = pkgs.writeText "gdm_monitors.xml" monitorsXmlContent;
# monitorsConfig = pkgs.writeText "gdm_monitors.xml" (builtins.readFile /home/${username}/.config/monitors.xml);
monitorsConfig = pkgs.writeText "gdm_monitors.xml" (builtins.readFile ~/.config/monitors.xml);
monitorsConfig = pkgs.writeText "gdm_monitors.xml" (builtins.readFile ./monitors.xml);
in {
imports = [
./hardware-configuration.nix
Expand Down
45 changes: 45 additions & 0 deletions nixos/hosts/kyuubi/monitors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<monitors version="2">
<configuration>
<logicalmonitor>
<x>1200</x>
<y>438</y>
<scale>1</scale>
<primary>yes</primary>
<monitor>
<monitorspec>
<connector>DP-1</connector>
<vendor>DEL</vendor>
<product>DELL P2414H</product>
<serial>36WJX4632D6L</serial>
</monitorspec>
<mode>
<width>1920</width>
<height>1080</height>
<rate>60.000</rate>
</mode>
</monitor>
</logicalmonitor>
<logicalmonitor>
<x>0</x>
<y>0</y>
<scale>1</scale>
<transform>
<rotation>left</rotation>
<flipped>no</flipped>
</transform>
<monitor>
<monitorspec>
<connector>DVI-I-1</connector>
<vendor>DEL</vendor>
<product>DELL 2407WFP</product>
<serial>UY54573E1DVS </serial>
</monitorspec>
<mode>
<width>1920</width>
<height>1200</height>
<rate>59.950</rate>
</mode>
</monitor>
</logicalmonitor>
</configuration>
</monitors>

0 comments on commit a29a598

Please sign in to comment.