about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2020-08-30 01:14:47 +0200
committerProfpatsch <mail@profpatsch.de>2020-08-30 01:14:47 +0200
commit4d0fd385b592c58e8678ef5a2e8569709f65225d (patch)
tree2cc8d7b6c58c6c347ef06c3ab40e00abda973142 /machines
parent17f7d4f9673d723c59354e44be47a350cdd50b5c (diff)
machines/haku: add data-seeding group
used for access to /data/seeding
Diffstat (limited to 'machines')
-rw-r--r--machines/profpatsch/haku.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/machines/profpatsch/haku.nix b/machines/profpatsch/haku.nix
index 5e90637e..44035311 100644
--- a/machines/profpatsch/haku.nix
+++ b/machines/profpatsch/haku.nix
@@ -73,11 +73,14 @@ in
       pkgs.vuizvui.profpatsch.warpspeed # trivial http file server
     ];
 
+    users.groups.data-seeding = {};
+
     users.users = {
       root.openssh.authorizedKeys.keys = [ myKey ];
 
       rtorrent = {
         isNormalUser = true;
+        extraGroups = [ "data-seeding" ];
       };
       vorstand = {
         isNormalUser = true;