1 Commits

Author SHA1 Message Date
ccc8ae2a4a Add uStreamer service to skycam 2024-08-05 22:47:11 +01:00

View File

@@ -33,7 +33,7 @@
description = "uStreamer service";
unitConfig = {
Type = "simple";
ConditionPathExists="/sys/bus/i2c/drivers/imx708/10-001a/video4linux";
ConditionPathExists = "/sys/bus/i2c/drivers/imx708/10-001a/video4linux";
};
serviceConfig = {
ExecStart = ''${pkgs.libcamera}/bin/libcamerify ${pkgs.unstable.ustreamer}/bin/ustreamer \
@@ -44,9 +44,9 @@
SupplementaryGroups = [ "video" "i2c" ];
Restart = "always";
RestartSec = 10;
wantedBy = [ "network-online.target" ];
confinement.mode = "chroot-only";
};
wantedBy = [ "network-online.target" ];
confinement.mode = "chroot-only";
};
environment.systemPackages = with pkgs; [