grant permissions to service directories

This commit is contained in:
Noah Masur 2023-03-20 03:35:54 +00:00
parent 4406116203
commit 1b798f5af0
2 changed files with 8 additions and 0 deletions

View File

@ -15,6 +15,11 @@
services.bazarr.enable = true;
services.prowlarr.enable = true;
# Grant users access to destination directories
users.users.sonarr.extraGroups = [ "jellyfin" ];
users.users.radarr.extraGroups = [ "jellyfin" ];
users.users.bazarr.extraGroups = [ "jellyfin" ];
# Requires updating the base_url config value in each service
# If you try to rewrite the URL, the service won't redirect properly
caddy.routes = [

View File

@ -41,6 +41,9 @@ in {
}];
}];
# Grant user access to Calibre directories
users.users.${config.user}.extraGroups = [ "calibre-web" ];
# Run a backup on a schedule
systemd.timers.calibre-backup = lib.mkIf config.backups.calibre {
timerConfig = {