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}";
};
environment.test = {
inherit (channels.nixpkgs) nix;
};
jobs.flake-update = {
tasks.flake-build.inputs = with channels.cipkgs;
ci.command {

View file

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

View file

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

View file

@ -15,17 +15,17 @@ let
cameracapture = {
element."v4l2src" = {
device = "/dev/videomew";
saturation = 100;
brightness = 100;
extra-controls = "c,exposure_auto=3";
#saturation = 100;
#brightness = 100;
#extra-controls = "c,exposure_auto=3";
};
};
v4l2src = [
cameracapture
{
caps."image/jpeg" = {
width = 1280;
height = 720;
width = 1920;
height = 1080;
framerate = "30/1"; # "10/1"
};
}
@ -44,7 +44,7 @@ let
in
{
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 = {

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