trying debuginfo
This commit is contained in:
@@ -711,6 +711,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
|
enableDebugInfo = true;
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
acpi
|
acpi
|
||||||
yt-dlp
|
yt-dlp
|
||||||
@@ -718,6 +719,11 @@ in
|
|||||||
inferno
|
inferno
|
||||||
rtorrent
|
rtorrent
|
||||||
age-plugin-yubikey
|
age-plugin-yubikey
|
||||||
|
(python3.withPackages (
|
||||||
|
ps: with ps; [
|
||||||
|
ipython
|
||||||
|
]
|
||||||
|
))
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
#pkgs,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.mj.services.frigate;
|
cfg = config.mj.services.frigate;
|
||||||
python3-fp = pkgs.python312.overrideAttrs (_: {
|
|
||||||
EXTRA_CFLAGS = " -fno-omit-frame-pointer";
|
|
||||||
});
|
|
||||||
in
|
in
|
||||||
|
#python3-fp = pkgs.python312.overrideAttrs (_: {
|
||||||
|
# EXTRA_CFLAGS = " -fno-omit-frame-pointer";
|
||||||
|
#});
|
||||||
{
|
{
|
||||||
options.mj.services.frigate = with lib.types; {
|
options.mj.services.frigate = with lib.types; {
|
||||||
enable = lib.mkEnableOption "enable frigate";
|
enable = lib.mkEnableOption "enable frigate";
|
||||||
@@ -20,7 +20,7 @@ in
|
|||||||
systemd.services.frigate = {
|
systemd.services.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-fp} -m frigate";
|
#ExecStart = lib.mkForce "${lib.getExe python3-fp} -m frigate";
|
||||||
EnvironmentFile = [ "-/run/frigate/secrets.env" ];
|
EnvironmentFile = [ "-/run/frigate/secrets.env" ];
|
||||||
Environment = [ "PYTHONPERFSUPPORT=1" ];
|
Environment = [ "PYTHONPERFSUPPORT=1" ];
|
||||||
RuntimeDirectory = "frigate";
|
RuntimeDirectory = "frigate";
|
||||||
|
|||||||
Reference in New Issue
Block a user