diff --git a/vinzenz-lpt2.nix b/vinzenz-lpt2.nix index 4cb89df..9f57054 100644 --- a/vinzenz-lpt2.nix +++ b/vinzenz-lpt2.nix @@ -42,19 +42,5 @@ users.users.ronja.openssh.authorizedKeys.keys = [ ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALWKm+d6KL6Vl3grPOcGouiNTkvdhXuWJmcrdEBY2nw ssh-host-key'' ]; - - services.openvscode-server = { - enable = true; - telemetryLevel = "off"; - port = 8542; - host = "100.103.93.126"; # tailscale - withoutConnectionToken = true; - extraPackages = with pkgs; [nodejs]; - }; - - networking.firewall = { - checkReversePath = "loose"; - allowedTCPPorts = [8542 8543 8544]; - }; }; } diff --git a/vinzenz-pc2.nix b/vinzenz-pc2.nix index d22319d..2a49309 100644 --- a/vinzenz-pc2.nix +++ b/vinzenz-pc2.nix @@ -1,4 +1,4 @@ -{...}: { +{pkgs, ...}: { imports = [ (import ./modules { hostName = "vinzenz-pc2"; @@ -28,5 +28,18 @@ ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY vinzenz-pixel-JuiceSSH'' ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDNpLDmctyqGpow/ElQvdhY4BLBPS/sigDJ1QEcC7wC vinzenz-lpt2-roaming'' ]; + + services.openvscode-server = { + enable = true; + telemetryLevel = "off"; + port = 8542; + host = "100.125.93.127"; # tailscale + withoutConnectionToken = true; + extraPackages = with pkgs; [nodejs gitFull gh]; + }; + + networking.firewall = { + allowedTCPPorts = [8542 8543 8544]; + }; }; }