diff --git a/modules/config/net.nix b/modules/config/net.nix index 589412a..081cf29 100644 --- a/modules/config/net.nix +++ b/modules/config/net.nix @@ -2,6 +2,8 @@ networking = { useNetworkd = true; dhcpcd.enable = false; + # allow mdns port + firewall.allowedUDPPorts = [5353]; }; systemd.network = { enable = true; diff --git a/users/patrick/ssh.nix b/users/patrick/ssh.nix index 4829fc3..1a07b50 100644 --- a/users/patrick/ssh.nix +++ b/users/patrick/ssh.nix @@ -18,19 +18,19 @@ }; "patricknix" = { - hostname = "192.168.178.31"; + hostname = "patricknix.local"; user = "root"; inherit identityFile; }; "testienix" = { - hostname = "192.168.178.32"; + hostname = "testienix.local"; user = "root"; inherit identityFile; }; "desktopnix" = { - hostname = "192.168.178.30"; + hostname = "desktopnix.local"; user = "root"; inherit identityFile; };