diff options
Diffstat (limited to 'modules/dockd-old-setup.nix')
-rw-r--r-- | modules/dockd-old-setup.nix | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/modules/dockd-old-setup.nix b/modules/dockd-old-setup.nix deleted file mode 100644 index 83cb576..0000000 --- a/modules/dockd-old-setup.nix +++ /dev/null @@ -1,74 +0,0 @@ -{ config, lib, pkgs, ... }: - -let - cfg = config.programs.dockd; -in - -{ - options = { - programs.dockd = { - enable = lib.mkOption { - type = lib.types.bool; - default = false; - description = '' - ThinkPad dock manager daemon. - ''; - }; - }; - }; - - config = lib.mkIf (cfg.enable) { - environment.etc = { - "dockd/docked.conf".text = '' - [Screen] - height=1920 - width=3000 - mm_height=506 - mm_width=791 - - [CRTC] - crtc=63 - x=0 - y=241 - rotation=1 - mode=1920x1080 - outputs_len=1 - outputs_0=HDMI-3 - - [CRTC] - crtc=64 - x=1920 - y=0 - rotation=2 - mode=1920x1080 - outputs_len=1 - outputs_0=DP-2 - ''; - - "dockd/undocked.conf".text = '' - [Screen] - height=768 - width=1366 - mm_height=202 - mm_width=359 - - [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 - ''; - }; - }; -} |