summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Parri <simonparri@ganzeria.com>2025-06-17 12:26:32 -0500
committerSimon Parri <simonparri@ganzeria.com>2025-06-17 12:26:32 -0500
commitd6a4cf2e9656b5e260d1afd2189434029299d17d (patch)
treec0ff49565879aa30079e01884a9fe7a76b247a03
parent5a053b147ce44753f8c2dc7fa6da33dc2c2be480 (diff)
downloadnixos-config-d6a4cf2e9656b5e260d1afd2189434029299d17d.tar.gz
nixos-config-d6a4cf2e9656b5e260d1afd2189434029299d17d.zip
hosts/tomato: Set real screen size in X11
-rw-r--r--hosts/tomato/hardware.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/tomato/hardware.nix b/hosts/tomato/hardware.nix
index be00010..271d412 100644
--- a/hosts/tomato/hardware.nix
+++ b/hosts/tomato/hardware.nix
@@ -33,6 +33,10 @@ in
hardware.graphics.extraPackages = [pkgs.intel-vaapi-driver];
services.xserver.videoDrivers = ["intel"];
+ services.xserver.xrandrHeads = [{
+ output = "LVDS1";
+ monitorConfig = "DisplaySize 280 160";
+ }];
this.bluetooth.enable = true;