19 lines
357 B
Nix
19 lines
357 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,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./users/minecraft.nix
|
|
];
|
|
networking.firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [ 25565 25567 ];
|
|
allowedUDPPorts = [ 25565 25567];
|
|
};
|
|
}
|