summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/tinc_graphs.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-12-01 18:28:26 +0100
committerlassulus <lassulus@lassul.us>2021-12-01 18:28:26 +0100
commitcd367626d4cb434e89ebfce0f4c13a11108043db (patch)
treefb3bffff47e3f73d26f81262d865761e79439241 /krebs/3modules/tinc_graphs.nix
parentc5ade4fdd6c414c6726e1ac152a1c80327b5e796 (diff)
tinc_graphs: add groups
Diffstat (limited to 'krebs/3modules/tinc_graphs.nix')
-rw-r--r--krebs/3modules/tinc_graphs.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/krebs/3modules/tinc_graphs.nix b/krebs/3modules/tinc_graphs.nix
index 7a414e6e3..733db69ca 100644
--- a/krebs/3modules/tinc_graphs.nix
+++ b/krebs/3modules/tinc_graphs.nix
@@ -128,9 +128,12 @@ let
users.extraUsers.tinc_graphs = {
uid = genid_uint31 "tinc_graphs";
+ group = "tinc_graphs";
home = "/var/spool/tinc_graphs";
isSystemUser = true;
};
+ users.groups.tinc_graphs = {};
+
services.nginx = mkIf cfg.nginx.enable {
enable = mkDefault true;
virtualHosts = {