tv.hw.screens: init
This commit is contained in:
parent
824e5f02a1
commit
d2edb22d9f
@ -5,6 +5,7 @@
|
||||
./ejabberd
|
||||
./focus.nix
|
||||
./hosts.nix
|
||||
./hw.nix
|
||||
./im.nix
|
||||
./iptables.nix
|
||||
./slock.nix
|
||||
|
16
tv/3modules/hw.nix
Normal file
16
tv/3modules/hw.nix
Normal file
@ -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 = {};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user