started shanghai

This commit is contained in:
William 2024-08-27 08:51:27 -03:00
parent 52722bb66e
commit 39b22bfd0b
6 changed files with 176 additions and 30 deletions

View file

@ -0,0 +1,25 @@
{ ... }:
{
imports = [
# Host-common imports
../common
# Server-common imports
./common
# Host-specific imports
./shanghai
];
nix.nixPath = [ "nixos-config=${./shanghai.nix}" ];
networking = {
hostName = "shanghai";
firewall = {
allowedTCPPorts = [ 25565 ];
allowedUDPPorts = [ 25565 ];
};
nftables.enable = true;
};
zramSwap.enable = true;
}