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