feat: enabled mdns
This commit is contained in:
parent
c1afec2fdb
commit
6d0c147513
|
@ -2,6 +2,8 @@
|
|||
networking = {
|
||||
useNetworkd = true;
|
||||
dhcpcd.enable = false;
|
||||
# allow mdns port
|
||||
firewall.allowedUDPPorts = [5353];
|
||||
};
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue