Files
2026-06-23 15:25:17 -07:00

29 lines
525 B
Nix

# This is your system's configuration file.
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
{
inputs,
lib,
config,
pkgs,
...
}: {
networking.firewall = {
enable = true;
allowedTCPPorts = [ 25565 ];
allowedUDPPorts = [ 25565 ];
};
environment.systemPackages = with pkgs; [
pkgs.jdk17
];
users.users = {
minecraft = {
isNormalUser = true;
shell = pkgs.bashInteractive;
openssh.authorizedKeys.keys = [
];
};
};
}