create media group
This commit is contained in:
parent
3038c1db41
commit
e35652cac0
@ -3,6 +3,9 @@
|
||||
services.plex = {
|
||||
enable = true;
|
||||
dataDir = "/srv/plex";
|
||||
group = "media";
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
users.groups.media.members = [ "plex" ];
|
||||
}
|
||||
|
@ -5,9 +5,13 @@ let
|
||||
in
|
||||
{
|
||||
imports = [ ../../modules/services/torrent/qbittorrent.nix ];
|
||||
services.qbittorrent.enable = true;
|
||||
users.users.nrd.extraGroups = [ "qbittorrent" ];
|
||||
|
||||
services.qbittorrent = {
|
||||
enable = true;
|
||||
group = "media";
|
||||
};
|
||||
|
||||
users.groups.media.members = [ "qbittorrent" ];
|
||||
|
||||
environment.etc."xdg/qutebrowser/config.py".text = mkAfter ''
|
||||
c.url.searchengines['to'] = 'https://torrentz2.eu/search?f={}'
|
||||
|
@ -167,6 +167,8 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
users.groups.media.members = [ "nrd" ];
|
||||
|
||||
users.users.nrd = {
|
||||
uid = 1000;
|
||||
description = name;
|
||||
|
Loading…
Reference in New Issue
Block a user