1
1
mirror of https://github.com/divnix/digga.git synced 2024-11-23 20:22:04 +03:00

create media group

This commit is contained in:
Timothy DeHerrera 2019-12-19 13:03:15 -07:00
parent 3038c1db41
commit e35652cac0
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
3 changed files with 11 additions and 2 deletions

View File

@ -3,6 +3,9 @@
services.plex = {
enable = true;
dataDir = "/srv/plex";
group = "media";
openFirewall = true;
};
users.groups.media.members = [ "plex" ];
}

View File

@ -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={}'

View File

@ -167,6 +167,8 @@ in
};
};
users.groups.media.members = [ "nrd" ];
users.users.nrd = {
uid = 1000;
description = name;