Skip to content

Commit 1438cee

Browse files
committed
xrandr mode
1 parent 7a5ec10 commit 1438cee

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

configuration.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
boot.tmpOnTmpfs = true;
88

9-
systemd.generator-packages = [ pkgs.systemd-cryptsetup-generator ];
9+
systemd.packages = [ pkgs.systemd-cryptsetup-generator ];
1010

1111
# Select internationalisation properties.
1212
i18n = {
@@ -105,7 +105,6 @@
105105
firefox-devedition-bin
106106
git
107107
haskellPackages.hlint
108-
haskellPackages.hpack
109108
haskellPackages.xmobar
110109
htop
111110
jpegoptim

desktop.nix

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@
2020
services = {
2121
xserver.xrandrHeads = [
2222
"DVI-0"
23-
{output="HDMI-3"; primary=true;}
24-
{output="DisplayPort-4";
25-
monitorConfig=''
26-
Option "Rotate" "Right"
27-
Option "Pos" "3840x-420"
28-
'';
23+
{ output="HDMI-3"; primary=true;}
24+
{ output="DisplayPort-4";
25+
monitorConfig=''
26+
Option "Rotate" "Right"
27+
Option "Position" "3840 -420"
28+
Option "Mode" "1920x1080"
29+
'';
30+
# Modeline "1920x1080_60" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
2931
}
3032
];
3133
plex.enable = true;

0 commit comments

Comments
 (0)