about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/dockd.nix104
1 files changed, 61 insertions, 43 deletions
diff --git a/modules/dockd.nix b/modules/dockd.nix
index 3677f6e..d8a1582 100644
--- a/modules/dockd.nix
+++ b/modules/dockd.nix
@@ -20,54 +20,72 @@ in
   config = lib.mkIf (cfg.enable) {
     environment.etc = {
       "dockd/docked.conf".text = ''
-        [Screen]
-        height=1225
-        width=3840
-        mm_height=323
-        mm_width=1015
+[Screen]
+height=1180
+width=3940
+mm_height=311
+mm_width=1041
 
-        [CRTC]
-        crtc=63
-        x=0
-        y=145
-        rotation=1
-        mode=1920x1080
-        outputs_len=1
-        outputs_0=HDMI-3
+[CRTC]
+crtc=63
+x=0
+y=100
+rotation=1
+mode=1920x1080
+outputs_len=1
+outputs_0=HDMI3
 
-        [CRTC]
-        crtc=64
-        x=1920
-        y=0
-        rotation=1
-        mode=1920x1080
-        outputs_len=1
-        outputs_0=DP-2
-      '';
+[CRTC]
+crtc=64
+x=2020
+y=0
+rotation=1
+mode=1920x1080
+outputs_len=1
+outputs_0=DP2
+
+[CRTC]
+crtc=65
+x=0
+y=0
+rotation=1
+mode=None
+outputs_len=0
+     '';
       "dockd/undocked.conf".text = ''
-        [Screen]
-        height=768
-        width=1366
-        mm_height=202
-        mm_width=359
+[Screen]
+height=768
+width=1366
+mm_height=201
+mm_width=359
+
+[CRTC]
+crtc=63
+x=0
+y=0
+rotation=1
+mode=1366x768
+outputs_len=1
+outputs_0=LVDS1
+
+[CRTC]
+crtc=64
+x=1920
+y=0
+rotation=1
+mode=None
+outputs_len=0
+
+[CRTC]
+crtc=65
+x=0
+y=0
+rotation=1
+mode=None
+outputs_len=0
 
-        [CRTC]
-        crtc=63
-        x=0
-        y=0
-        rotation=1
-        mode=1366x768
-        outputs_len=1
-        outputs_0=LVDS-1
 
-        [CRTC]
-        crtc=64
-        x=1920
-        y=0
-        rotation=2
-        mode=None
-        outputs_len=0
-      '';
+     '';
     };
   };
 }