nfs
This commit is contained in:
@@ -70,6 +70,7 @@ in {
|
||||
volumes = [
|
||||
"config:/storage/volumes/config"
|
||||
"config:/storage/volumes/downloads"
|
||||
"/var/lib/qbittorrent:/config"
|
||||
];
|
||||
environmentFiles = [
|
||||
config.age.secrets.gluetunEnv.path
|
||||
@@ -106,6 +107,18 @@ in {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment.persistence."/persist/backup" = {
|
||||
directories = [
|
||||
{
|
||||
directory = "/var/lib/qbittorrent";
|
||||
user = "qbittorrent";
|
||||
group = "qbittorrent";
|
||||
mode = "0750";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
users = {
|
||||
users.qbittorrent = {
|
||||
uid = cfg.uid;
|
||||
|
||||
Reference in New Issue
Block a user