Package Deluge with NixNG
Use same group for all media images
This commit is contained in:
parent
a22c34716e
commit
abb7a131bc
15 changed files with 212 additions and 22 deletions
|
@ -1,9 +1,22 @@
|
|||
{...}: {
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
nglib,
|
||||
...
|
||||
}: {
|
||||
dinit.enable = true;
|
||||
init.services.sonarr.shutdownOnExit = true;
|
||||
init.services.sonarr = {
|
||||
shutdownOnExit = true;
|
||||
group = lib.mkForce "media";
|
||||
};
|
||||
|
||||
services.sonarr = {
|
||||
enable = true;
|
||||
dataDir = "/config";
|
||||
};
|
||||
|
||||
users.groups.media = nglib.mkDefaultRec {
|
||||
gid = config.ids.gids.media;
|
||||
members = ["sonarr"];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue