diff options
author | tv <tv@krebsco.de> | 2021-02-15 14:00:47 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-02-15 14:16:27 +0100 |
commit | e249b2d8d4c9368a911ac1d5d7492c14a9602c05 (patch) | |
tree | adc8a3dfb6eaba35c397de4b014e5789e6a25158 /tv/2configs/hw | |
parent | d2edb22d9f975959fc21a19f4e9da4a591d2b2a5 (diff) |
tv config: define primary screens
Diffstat (limited to 'tv/2configs/hw')
-rw-r--r-- | tv/2configs/hw/AO753.nix | 3 | ||||
-rw-r--r-- | tv/2configs/hw/w110er.nix | 3 | ||||
-rw-r--r-- | tv/2configs/hw/x220.nix | 7 |
3 files changed, 12 insertions, 1 deletions
diff --git a/tv/2configs/hw/AO753.nix b/tv/2configs/hw/AO753.nix index a91a5e518..469f5c6f8 100644 --- a/tv/2configs/hw/AO753.nix +++ b/tv/2configs/hw/AO753.nix @@ -44,4 +44,7 @@ with import <stockholm/lib>; ''; krebs.nixpkgs.allowUnfreePredicate = pkg: packageName pkg == "broadcom-sta"; + + tv.hw.screens.primary.width = 1366; + tv.hw.screens.primary.height = 768; } diff --git a/tv/2configs/hw/w110er.nix b/tv/2configs/hw/w110er.nix index 7d837eabc..693cef5ac 100644 --- a/tv/2configs/hw/w110er.nix +++ b/tv/2configs/hw/w110er.nix @@ -59,4 +59,7 @@ with import <stockholm/lib>; services.xserver = { videoDriver = "intel"; }; + + tv.hw.screens.primary.width = 1366; + tv.hw.screens.primary.height = 768; } diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix index aadfc6691..ecbb84a44 100644 --- a/tv/2configs/hw/x220.nix +++ b/tv/2configs/hw/x220.nix @@ -1,4 +1,6 @@ -{ config, pkgs, ... }: +{ config, pkgs, ... }: let + lib = import <stockholm/lib>; +in { imports = [ ../smartd.nix @@ -74,4 +76,7 @@ services.xserver = { videoDriver = "intel"; }; + + tv.hw.screens.primary.width = lib.mkDefault 1366; + tv.hw.screens.primary.height = lib.mkDefault 768; } |