group things
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
network = {
|
||||
enable = true;
|
||||
extraHosts = ''
|
||||
192.168.88.14 sobotka
|
||||
192.168.88.14 cnst.dev
|
||||
192.168.88.14 lidarr.cnst.dev
|
||||
192.168.88.14 prowlarr.cnst.dev
|
||||
|
||||
@@ -70,5 +70,6 @@ in {
|
||||
group = cfg.group;
|
||||
};
|
||||
};
|
||||
users.groups.media.gid = 777;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -46,5 +46,10 @@ in {
|
||||
reverse_proxy http://127.0.0.1:8686
|
||||
'';
|
||||
};
|
||||
users.users.lidarr = {
|
||||
group = "lidarr";
|
||||
extraGroups = ["media"];
|
||||
isSystemUser = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -68,9 +68,8 @@ in {
|
||||
"--network=container:gluetun"
|
||||
];
|
||||
volumes = [
|
||||
"config:/storage/volumes/config"
|
||||
"config:/storage/volumes/downloads"
|
||||
# "/var/lib/qbittorrent:/config"
|
||||
"/var/lib/qbittorrent:/config"
|
||||
"/shared/downloads:/downloads"
|
||||
];
|
||||
environmentFiles = [
|
||||
config.age.secrets.gluetunEnv.path
|
||||
@@ -108,21 +107,11 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
# environment.persistence."/persist/backup" = {
|
||||
# directories = [
|
||||
# {
|
||||
# directory = "/var/lib/qbittorrent";
|
||||
# user = "qbittorrent";
|
||||
# group = "qbittorrent";
|
||||
# mode = "0750";
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
|
||||
users = {
|
||||
users.qbittorrent = {
|
||||
uid = cfg.uid;
|
||||
group = "qbittorrent";
|
||||
extraGroups = ["media"];
|
||||
isSystemUser = true;
|
||||
};
|
||||
groups.qbittorrent = {
|
||||
|
||||
Reference in New Issue
Block a user