feat: enabled mdns

This commit is contained in:
Patrick 2023-09-03 13:26:08 +02:00
parent c1afec2fdb
commit 6d0c147513
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 5 additions and 3 deletions

View file

@ -2,6 +2,8 @@
networking = {
useNetworkd = true;
dhcpcd.enable = false;
# allow mdns port
firewall.allowedUDPPorts = [5353];
};
systemd.network = {
enable = true;

View file

@ -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;
};