forest/roles/mc-proxy.nix

13 lines
245 B
Nix

{ pkgs, ... }:
{
networking.firewall.allowedTCPPorts = [ 25565 ];
users.users.proxy = {
isNormalUser = false;
isSystemUser = true;
home = "/tmp";
description = "proxy";
group = "proxy";
};
users.groups.proxy = {};
}