group things
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
network = {
|
network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraHosts = ''
|
extraHosts = ''
|
||||||
|
192.168.88.14 sobotka
|
||||||
192.168.88.14 cnst.dev
|
192.168.88.14 cnst.dev
|
||||||
192.168.88.14 lidarr.cnst.dev
|
192.168.88.14 lidarr.cnst.dev
|
||||||
192.168.88.14 prowlarr.cnst.dev
|
192.168.88.14 prowlarr.cnst.dev
|
||||||
|
|||||||
@@ -70,5 +70,6 @@ in {
|
|||||||
group = cfg.group;
|
group = cfg.group;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
users.groups.media.gid = 777;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,5 +46,10 @@ in {
|
|||||||
reverse_proxy http://127.0.0.1:8686
|
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"
|
"--network=container:gluetun"
|
||||||
];
|
];
|
||||||
volumes = [
|
volumes = [
|
||||||
"config:/storage/volumes/config"
|
"/var/lib/qbittorrent:/config"
|
||||||
"config:/storage/volumes/downloads"
|
"/shared/downloads:/downloads"
|
||||||
# "/var/lib/qbittorrent:/config"
|
|
||||||
];
|
];
|
||||||
environmentFiles = [
|
environmentFiles = [
|
||||||
config.age.secrets.gluetunEnv.path
|
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 = {
|
||||||
users.qbittorrent = {
|
users.qbittorrent = {
|
||||||
uid = cfg.uid;
|
uid = cfg.uid;
|
||||||
group = "qbittorrent";
|
group = "qbittorrent";
|
||||||
|
extraGroups = ["media"];
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
};
|
};
|
||||||
groups.qbittorrent = {
|
groups.qbittorrent = {
|
||||||
|
|||||||
Reference in New Issue
Block a user