fix arr backup
This commit is contained in:
parent
82225c63fc
commit
237c7c6e82
1 changed files with 6 additions and 1 deletions
|
@ -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}) [
|
||||
|
|
Loading…
Reference in a new issue