summaryrefslogtreecommitdiff
path: root/nixos/hosts
diff options
context:
space:
mode:
authorcaley <195605706+cqley@users.noreply.github.com>2026-07-25 03:06:19 +0200
committerGitHub <noreply@github.com>2026-07-25 03:06:19 +0200
commitd884639a03d6eb6cea5c2e70190d77d18f549c7f (patch)
treed09cc551f2ae78093a041e43691e6f2b8854bda4 /nixos/hosts
parentb9fcdef11892349ea66df70dace84e3e84a2f376 (diff)
Update configuration.nix
Diffstat (limited to 'nixos/hosts')
-rw-r--r--nixos/hosts/bin/configuration.nix20
1 files changed, 0 insertions, 20 deletions
diff --git a/nixos/hosts/bin/configuration.nix b/nixos/hosts/bin/configuration.nix
index 7a233ac..822f703 100644
--- a/nixos/hosts/bin/configuration.nix
+++ b/nixos/hosts/bin/configuration.nix
@@ -31,13 +31,6 @@
networking.hostName = "bin";
networking.networkmanager.enable = true;
- networking.firewall = {
- enable = true;
- allowedTCPPorts = [ 25565 4533 ];
- allowedUDPPorts = [ 51820 ];
- trustedInterfaces = [ "wg0" ];
- };
-
networking.useDHCP = false;
networking.interfaces.ens18.ipv4.addresses = [{
address = "5.231.118.254";
@@ -49,19 +42,6 @@
};
networking.nameservers = [ "1.1.1.1" "8.8.8.8" ];
- networking.wireguard.interfaces.wg0 = {
- ips = [ "10.0.0.1/24" ];
- listenPort = 51820;
- privateKeyFile = "/var/lib/wireguard/privatekey";
-
- peers = [
- {
- publicKey = "BdQ1JoAFU5XGFfZDNPEUk78zI8yLLReSWdVbeETwNX4=";
- allowedIPs = [ "10.0.0.2/32" ];
- }
- ];
- };
-
time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {