Compare commits
1 Commits
skycam
...
c1074db99c
Author | SHA1 | Date | |
---|---|---|---|
c1074db99c
|
@@ -33,7 +33,7 @@
|
|||||||
description = "uStreamer service";
|
description = "uStreamer service";
|
||||||
unitConfig = {
|
unitConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
ConditionPathExists = "/sys/bus/i2c/drivers/imx708/10-001a/video4linux";
|
ConditionPathExists="/sys/bus/i2c/drivers/imx708/10-001a/video4linux";
|
||||||
};
|
};
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = ''${pkgs.libcamera}/bin/libcamerify ${pkgs.unstable.ustreamer}/bin/ustreamer \
|
ExecStart = ''${pkgs.libcamera}/bin/libcamerify ${pkgs.unstable.ustreamer}/bin/ustreamer \
|
||||||
@@ -44,9 +44,9 @@
|
|||||||
SupplementaryGroups = [ "video" "i2c" ];
|
SupplementaryGroups = [ "video" "i2c" ];
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = 10;
|
RestartSec = 10;
|
||||||
|
wantedBy = [ "network-online.target" ];
|
||||||
|
confinement.mode = "chroot-only";
|
||||||
};
|
};
|
||||||
wantedBy = [ "network-online.target" ];
|
|
||||||
confinement.mode = "chroot-only";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
Reference in New Issue
Block a user