summaryrefslogtreecommitdiffstats
path: root/tv/3modules/hw.nix
blob: 6eb722d2f79929bcd696ad09b48cdc55539dc137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
let
  lib = import <stockholm/lib>;
  local.types.screen = lib.types.submodule {
    options.width = lib.mkOption {
      type = lib.types.uint;
    };
    options.height = lib.mkOption {
      type = lib.types.uint;
    };
  };
in {
  options.tv.hw.screens = lib.mkOption {
    type = lib.types.attrsOf local.types.screen;
    default = {};
  };
}