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