1
0
Fork 0

fix arr backup

This commit is contained in:
ibizaman 2023-09-29 23:19:39 -07:00
parent 82225c63fc
commit 237c7c6e82

View file

@ -93,12 +93,18 @@ in
enable = true;
dataDir = "/var/lib/readarr";
};
users.users.readarr = {
extraGroups = [ "media" ];
};
# Listens on port 8686
services.lidarr = lib.mkIf cfg.lidarr.enable {
enable = true;
dataDir = "/var/lib/lidarr";
};
users.users.lidarr = {
extraGroups = [ "media" ];
};
shb.nginx.autheliaProtect =
let
@ -139,7 +145,6 @@ in
};
in
lib.mkMerge (lib.mapAttrsToList backupConfig apps);
}
] ++ map (name: {
systemd.tmpfiles.rules = lib.mkIf (lib.hasAttr "dataDir" config.services.${name}) [