36 lines
691 B
Nix
36 lines
691 B
Nix
{ lib, ... }:
|
|
{
|
|
options.programs.obs-studio.resolution =
|
|
with lib;
|
|
with types;
|
|
{
|
|
base = {
|
|
x = mkOption {
|
|
type = int;
|
|
description = "Base resolution width.";
|
|
default = 1920;
|
|
};
|
|
|
|
y = mkOption {
|
|
type = int;
|
|
description = "Base resolution height.";
|
|
default = 1080;
|
|
};
|
|
};
|
|
|
|
output = {
|
|
x = mkOption {
|
|
type = int;
|
|
description = "Output resolution width.";
|
|
default = 1920;
|
|
};
|
|
|
|
y = mkOption {
|
|
type = int;
|
|
description = "Output resolution height.";
|
|
default = 1080;
|
|
};
|
|
};
|
|
};
|
|
}
|