2024-11-16 06:38:48 +03:00
|
|
|
# Screen configuration.
|
2024-12-18 09:40:11 +03:00
|
|
|
{ lib, ... }:
|
2024-11-16 06:38:48 +03:00
|
|
|
{
|
2024-12-18 09:40:11 +03:00
|
|
|
options.module.display = {
|
|
|
|
dpiAware = lib.mkOption {
|
|
|
|
default = false;
|
|
|
|
type = lib.types.bool;
|
|
|
|
};
|
|
|
|
primary = lib.mkOption {
|
|
|
|
default = "*";
|
|
|
|
type = lib.types.str;
|
|
|
|
};
|
|
|
|
rotate = lib.mkOption {
|
|
|
|
default = { };
|
|
|
|
type =
|
|
|
|
with lib.types;
|
|
|
|
attrsOf (enum [
|
|
|
|
0
|
|
|
|
90
|
|
|
|
180
|
|
|
|
270
|
|
|
|
]);
|
|
|
|
};
|
|
|
|
};
|
2024-11-16 06:38:48 +03:00
|
|
|
}
|