summaryrefslogtreecommitdiff
path: root/nixos/hosts/bin
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/hosts/bin')
-rw-r--r--nixos/hosts/bin/configuration.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/nixos/hosts/bin/configuration.nix b/nixos/hosts/bin/configuration.nix
index 3d03b15..844b989 100644
--- a/nixos/hosts/bin/configuration.nix
+++ b/nixos/hosts/bin/configuration.nix
@@ -29,8 +29,9 @@
networking.firewall = {
enable = true;
- allowedTCPPorts = [ 8080 5657 25565 ];
+ allowedTCPPorts = [ 25565 ];
allowedUDPPorts = [ 51820 ];
+ trustedInterfaces = [ "wg0" ];
};
networking.useDHCP = false;
@@ -107,8 +108,8 @@
(pkgs.writeShellScriptBin "java25" "exec ${pkgs.jdk25}/bin/java \"$@\"")
];
environment = {
- PUFFER_WEB_HOST = ":8080";
- PUFFER_DAEMON_SFTP_HOST = ":5657";
+ PUFFER_WEB_HOST = "10.0.0.1:8080";
+ PUFFER_DAEMON_SFTP_HOST = "10.0.0.1:5657";
};
};