mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
grant permissions to service directories
This commit is contained in:
parent
4406116203
commit
1b798f5af0
@ -15,6 +15,11 @@
|
|||||||
services.bazarr.enable = true;
|
services.bazarr.enable = true;
|
||||||
services.prowlarr.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
|
# Requires updating the base_url config value in each service
|
||||||
# If you try to rewrite the URL, the service won't redirect properly
|
# If you try to rewrite the URL, the service won't redirect properly
|
||||||
caddy.routes = [
|
caddy.routes = [
|
||||||
|
@ -41,6 +41,9 @@ in {
|
|||||||
}];
|
}];
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
# Grant user access to Calibre directories
|
||||||
|
users.users.${config.user}.extraGroups = [ "calibre-web" ];
|
||||||
|
|
||||||
# Run a backup on a schedule
|
# Run a backup on a schedule
|
||||||
systemd.timers.calibre-backup = lib.mkIf config.backups.calibre {
|
systemd.timers.calibre-backup = lib.mkIf config.backups.calibre {
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
|
Loading…
Reference in New Issue
Block a user