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