diff --git a/system/configuration.nix b/system/configuration.nix index f3e9f55..2f8b3a9 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -85,6 +85,8 @@ programs.zsh.enable = true; users.defaultUserShell = pkgs.zsh; + + services.tailscale.enable = true; # rust nixpkgs.overlays = [ @@ -99,6 +101,8 @@ "rustfmt" ]) + tailscale + cachix helix @@ -116,8 +120,10 @@ networking.firewall = { - allowedUDPPorts = [ 51820 ]; + allowedUDPPorts = [ 41641 ]; + checkReversePath = "loose"; }; + system.stateVersion = "22.05"; # Did you read the comment? diff --git a/system/wollomi.nix b/system/wollomi.nix index dac597d..c9f4520 100644 --- a/system/wollomi.nix +++ b/system/wollomi.nix @@ -23,25 +23,6 @@ hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - networking.wireguard = { - enable = true; - interfaces = { - pond = { - ips = [ "10.4.20.1/32" ]; - listenPort = 51821; - privateKeyFile = "/root/pond.priv"; - peers = [ - { - publicKey = "GzLoJ99BrmF4X4DKHtBOskIB2SsApkZ2jzPigSYkaX8="; - allowedIPs = [ "10.4.20.0/24" ]; - endpoint = "45.76.121.195:51821"; - persistentKeepalive = 20; - } - ]; - }; - }; - }; - # dlna services.minidlna = { enable = true;