From 0c4f3acb281be6290c55a6e96bc29fab5b5c7a11 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 11 Sep 2023 18:24:28 +0200 Subject: stockholm -> hrm --- modules/hw.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 modules/hw.nix (limited to 'modules/hw.nix') diff --git a/modules/hw.nix b/modules/hw.nix new file mode 100644 index 0000000..653b04f --- /dev/null +++ b/modules/hw.nix @@ -0,0 +1,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 = {}; + }; +} -- cgit v1.2.3