diff options
author | makefu <github@syntax-fehler.de> | 2021-02-15 19:09:42 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-02-15 19:09:42 +0100 |
commit | 9b0c37aa8d2da888ca4075365249f0e6109b4fb7 (patch) | |
tree | 3b7b267cb109c6aa6b7d8d036fd962791b7bfb03 /tv/3modules | |
parent | 424bed37941a2d0db083e76ef5183fbf2cb950c2 (diff) | |
parent | dbc0e3d5dee0ffdfcbdfbf394590cd340bb5c469 (diff) |
Merge remote-tracking branch 'tv/master'
Diffstat (limited to 'tv/3modules')
-rw-r--r-- | tv/3modules/default.nix | 1 | ||||
-rw-r--r-- | tv/3modules/hw.nix | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/tv/3modules/default.nix b/tv/3modules/default.nix index 5be1bee..9f2f8e6 100644 --- a/tv/3modules/default.nix +++ b/tv/3modules/default.nix @@ -5,6 +5,7 @@ ./ejabberd ./focus.nix ./hosts.nix + ./hw.nix ./im.nix ./iptables.nix ./slock.nix diff --git a/tv/3modules/hw.nix b/tv/3modules/hw.nix new file mode 100644 index 0000000..6eb722d --- /dev/null +++ b/tv/3modules/hw.nix @@ -0,0 +1,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 = {}; + }; +} |