Files
nixos-config/modules/system/displays.nix
Mans Ziesel 6e4f1da2f7 Add per-host display configuration via custom.displays option
Introduces a NixOS option custom.displays (attrsOf (attrsOf str)) so each
host can declare its sway output layout. The home sway module reads it via
osConfig. pc-mans is configured with DP-1 (1080p@144Hz, left) and DP-2
(4K@160Hz, right, 1.5x scale).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 16:44:55 +02:00

10 lines
230 B
Nix

{ lib, ... }:
{
options.custom.displays = lib.mkOption {
type = lib.types.attrsOf (lib.types.attrsOf lib.types.str);
default = {};
description = "Per-host sway output configuration keyed by connector name.";
};
}