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>
10 lines
230 B
Nix
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.";
|
|
};
|
|
}
|