diff options
author | lassulus <lassulus@lassul.us> | 2022-07-11 13:19:19 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-08-21 21:31:43 +0200 |
commit | 9c8890f2e51d1df74a784d7fd884accf55bd48d2 (patch) | |
tree | bfcc9db154e653840fa7d42525e328579f6dfde4 /nixos/modules/services/games | |
parent | bad39490e9f108654904872d00ccb1a22d75d450 (diff) |
nixos/terraria: set primary group
Diffstat (limited to 'nixos/modules/services/games')
-rw-r--r-- | nixos/modules/services/games/terraria.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { |