30 lines
488 B
Nix
30 lines
488 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.wivrn = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
|
|
defaultRuntime = true;
|
|
autoStart = true;
|
|
config = {
|
|
enable = true;
|
|
json = {
|
|
scale = 1.0;
|
|
bitrate = 100000000;
|
|
encoders = [
|
|
{
|
|
encoder = "vaapi";
|
|
codec = "h264";
|
|
width = 1.0;
|
|
height = 1.0;
|
|
offset_x = 0.0;
|
|
offset_y = 0.0;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|