summaryrefslogtreecommitdiffstats
path: root/tv/3modules/hw.nix
blob: db1a77c85eb3c9ed2b278285a8d0fda77ef64b21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
with import ./lib;
let
  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 = {};
  };
}