From c25f2f9b1f58a50fba0648b32d9a89db72c31907 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Mon, 3 Mar 2025 16:20:44 +0100 Subject: [PATCH] This should do the job --- hosts/antares/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/antares/configuration.nix b/hosts/antares/configuration.nix index bc68e5f..b560f18 100644 --- a/hosts/antares/configuration.nix +++ b/hosts/antares/configuration.nix @@ -119,6 +119,7 @@ ]; }; users.users.mcserver = { + isSystemUser = true; group = "mcserver"; home = "/srv/mcserver"; openssh.authorizedKeys.keys = [ @@ -135,6 +136,7 @@ }; users.groups.git = {}; + users.groups.mcserver = {}; networking.firewall.allowedTCPPorts = [ 80 443 9418 53 ]; networking.firewall.allowedUDPPorts = [ 53 ]; -- 2.47.2