This commit is contained in:
2025-08-20 10:28:42 -04:00
parent 4b850af15a
commit 40729a2597
5 changed files with 29 additions and 39 deletions

View File

@@ -215,8 +215,8 @@
};
systemd.tmpfiles.rules = [
"d ${config.services.qbittorrent.serverConfig.Preferences.Downloads.SavePath} 0750 ${config.services.qbittorrent.user} ${service_configs.torrent_group}"
"d ${config.services.qbittorrent.serverConfig.Preferences.Downloads.TempPath} 0750 ${config.services.qbittorrent.user} ${service_configs.torrent_group}"
"d ${config.services.qbittorrent.serverConfig.Preferences.Downloads.SavePath} 0750 ${config.services.qbittorrent.user} ${service_configs.media_group}"
"d ${config.services.qbittorrent.serverConfig.Preferences.Downloads.TempPath} 0750 ${config.services.qbittorrent.user} ${service_configs.media_group}"
];
# make qbittorrent use a vpn
@@ -231,11 +231,6 @@
'';
users.users.${config.services.qbittorrent.user}.extraGroups = [
service_configs.torrent_group
service_configs.media_group
];
users.users.${username}.extraGroups = [
config.services.qbittorrent.group
];
}