about summary refs log tree commit diff
path: root/modules/dockd.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-05-01 16:37:38 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-05-01 16:37:38 +0200
commit4277ed0f32c31db5267c173ccb45435fe8ae1667 (patch)
tree7d73974c971056b596a147cd8f9b13e8f8e2b359 /modules/dockd.nix
parent27b2750a12eba62a9e1e48081421ea585c05954b (diff)
parent052b9c4404a2678729712092dfdbb3e2ae25997b (diff)
downloaddots-4277ed0f32c31db5267c173ccb45435fe8ae1667.tar.gz
dots-4277ed0f32c31db5267c173ccb45435fe8ae1667.zip
Merge branch 'master' of https://github.com/pniedzwiedzinski/dots
Diffstat (limited to 'modules/dockd.nix')
-rw-r--r--modules/dockd.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/modules/dockd.nix b/modules/dockd.nix
index 0993e81..e2b5870 100644
--- a/modules/dockd.nix
+++ b/modules/dockd.nix
@@ -18,26 +18,26 @@ in
   };
 
   config = lib.mkIf (cfg.enable) {
+    environment.systemPackages = [ pkgs.nur.repos.pn.dockd ];
     environment.etc = {
       "dockd/docked.conf".text = ''
 [Screen]
 height=1080
-width=3840
-mm_height=311
-mm_width=1041
+width=1920
+mm_height=282
+mm_width=502
 
 [CRTC]
 crtc=63
 x=0
 y=0
 rotation=1
-mode=1920x1080
-outputs_len=1
-outputs_0=HDMI3
+mode=None
+outputs_len=0
 
 [CRTC]
 crtc=64
-x=1920
+x=0
 y=0
 rotation=1
 mode=1920x1080
@@ -51,6 +51,7 @@ y=0
 rotation=1
 mode=None
 outputs_len=0
+
      '';
       "dockd/undocked.conf".text = ''
 [Screen]