From 9c8890f2e51d1df74a784d7fd884accf55bd48d2 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 11 Jul 2022 13:19:19 +0200 Subject: [PATCH] nixos/terraria: set primary group --- nixos/modules/services/games/terraria.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/games/terraria.nix b/nixos/modules/services/games/terraria.nix index 29f976b3c2ae..314b0ba83c3f 100644 --- a/nixos/modules/services/games/terraria.nix +++ b/nixos/modules/services/games/terraria.nix @@ -131,6 +131,7 @@ in config = mkIf cfg.enable { users.users.terraria = { description = "Terraria server service user"; + group = "terraria"; home = cfg.dataDir; createHome = true; uid = config.ids.uids.terraria; @@ -138,7 +139,6 @@ in users.groups.terraria = { gid = config.ids.gids.terraria; - members = [ "terraria" ]; }; systemd.services.terraria = {