kattv: Updates, new hardware

This commit is contained in:
kat witch 2021-11-28 17:17:22 +00:00 committed by kat
parent 82bed3b90d
commit 2524d87ac0
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
5 changed files with 9 additions and 13 deletions

View file

@ -77,10 +77,6 @@ with lib; {
nixpkgs.path = "${channels.nixfiles.inputs.nixpkgs}"; nixpkgs.path = "${channels.nixfiles.inputs.nixpkgs}";
}; };
environment.test = {
inherit (channels.nixpkgs) nix;
};
jobs.flake-update = { jobs.flake-update = {
tasks.flake-build.inputs = with channels.cipkgs; tasks.flake-build.inputs = with channels.cipkgs;
ci.command { ci.command {

View file

@ -6,7 +6,7 @@
services.nginx services.nginx
services.access services.access
users.kat.server users.kat.server
] ++ optional (meta.trusted ? services) trusted.service.website; ] ++ optional (meta.trusted ? services) trusted.services.website;
deploy.tf = { deploy.tf = {

View file

@ -45,7 +45,7 @@ let
#psy-tune = "film"; #psy-tune = "film";
#noise-reduction=0; #noise-reduction=0;
quantizer = 27; quantizer = 27;
bitrate = 8192; bitrate = 16384;
rc-lookahead = 6; rc-lookahead = 6;
}; };
denoise = { denoise = {

View file

@ -15,17 +15,17 @@ let
cameracapture = { cameracapture = {
element."v4l2src" = { element."v4l2src" = {
device = "/dev/videomew"; device = "/dev/videomew";
saturation = 100; #saturation = 100;
brightness = 100; #brightness = 100;
extra-controls = "c,exposure_auto=3"; #extra-controls = "c,exposure_auto=3";
}; };
}; };
v4l2src = [ v4l2src = [
cameracapture cameracapture
{ {
caps."image/jpeg" = { caps."image/jpeg" = {
width = 1280; width = 1920;
height = 720; height = 1080;
framerate = "30/1"; # "10/1" framerate = "30/1"; # "10/1"
}; };
} }
@ -44,7 +44,7 @@ let
in in
{ {
services.udev.extraRules = '' services.udev.extraRules = ''
KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", SUBSYSTEMS=="usb", ATTR{index}=="0", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0779", SYMLINK+="videomew", TAG+="systemd" KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", SUBSYSTEMS=="usb", ATTR{index}=="0", ATTRS{idVendor}=="1c3f", ATTRS{idProduct}=="2002", SYMLINK+="videomew", TAG+="systemd"
''; '';
systemd.services.kattv = { systemd.services.kattv = {

@ -1 +1 @@
Subproject commit 72a3eef071b64b18fb61d48041f9bc0285a358db Subproject commit d7be543d00111eeecd968a63d6b66d333884d899