forest/roles/mc-proxy.nix

14 lines
245 B
Nix
Raw Normal View History

2024-08-19 11:33:45 +00:00
{ pkgs, ... }:
{
networking.firewall.allowedTCPPorts = [ 25565 ];
users.users.proxy = {
isNormalUser = false;
isSystemUser = true;
home = "/tmp";
description = "proxy";
group = "proxy";
};
users.groups.proxy = {};
}