frigate: roll back to normal python3
This commit is contained in:
@@ -7,9 +7,6 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
nvme = "/dev/disk/by-id/nvme-Samsung_SSD_970_EVO_Plus_2TB_S6P1NS0TA01331A_1";
|
nvme = "/dev/disk/by-id/nvme-Samsung_SSD_970_EVO_Plus_2TB_S6P1NS0TA01331A_1";
|
||||||
python3-mine = pkgs.python312.overrideAttrs (_: {
|
|
||||||
EXTRA_CFLAGS = " -fno-omit-frame-pointer";
|
|
||||||
});
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@@ -118,7 +115,6 @@ in
|
|||||||
frigate = {
|
frigate = {
|
||||||
preStart = "ln -sf $CREDENTIALS_DIRECTORY/secrets.env /run/frigate/secrets.env";
|
preStart = "ln -sf $CREDENTIALS_DIRECTORY/secrets.env /run/frigate/secrets.env";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = lib.mkForce "${lib.getExe python3-mine} -m frigate";
|
|
||||||
EnvironmentFile = [ "-/run/frigate/secrets.env" ];
|
EnvironmentFile = [ "-/run/frigate/secrets.env" ];
|
||||||
Environment = [ "PYTHONPERFSUPPORT=1" ];
|
Environment = [ "PYTHONPERFSUPPORT=1" ];
|
||||||
RuntimeDirectory = "frigate";
|
RuntimeDirectory = "frigate";
|
||||||
@@ -798,7 +794,6 @@ in
|
|||||||
inferno
|
inferno
|
||||||
rtorrent
|
rtorrent
|
||||||
age-plugin-yubikey
|
age-plugin-yubikey
|
||||||
python3-mine
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user