Update server-permissions.nix
This commit is contained in:
parent
3c33931b15
commit
22642929ae
1 changed files with 10 additions and 1 deletions
|
|
@ -3,7 +3,16 @@
|
|||
{
|
||||
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
|
||||
systemd.tmpfiles.rules = [
|
||||
# Downloads - qbittorrent writes here
|
||||
# qbittorrent app data
|
||||
"d /var/lib/qbittorrent 0755 qbittorrent media -"
|
||||
"d /var/lib/qbittorrent/.config 0755 qbittorrent media -"
|
||||
"d /var/lib/qbittorrent/.config/qBittorrent 0755 qbittorrent media -"
|
||||
"d /var/lib/qbittorrent/.local 0755 qbittorrent media -"
|
||||
"d /var/lib/qbittorrent/.local/share 0755 qbittorrent media -"
|
||||
"d /var/lib/qbittorrent/.local/share/qBittorrent 0755 qbittorrent media -"
|
||||
|
||||
# Storage - qbittorrent downloads here
|
||||
"d /mnt/storage/torrents/downloads 2775 qbittorrent media -"
|
||||
"Z /mnt/storage/torrents/downloads 2775 qbittorrent media -"
|
||||
|
||||
# Shows - sonarr organises, bazarr writes subtitles
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue