stockholm/tv/3modules/hw.nix

17 lines
336 B
Nix
Raw Normal View History

2022-12-09 00:31:56 +00:00
with import ./lib;
2021-02-15 12:52:20 +00:00
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 = {};
};
}