feat: enabled mdns
This commit is contained in:
parent
c1afec2fdb
commit
6d0c147513
|
@ -2,6 +2,8 @@
|
||||||
networking = {
|
networking = {
|
||||||
useNetworkd = true;
|
useNetworkd = true;
|
||||||
dhcpcd.enable = false;
|
dhcpcd.enable = false;
|
||||||
|
# allow mdns port
|
||||||
|
firewall.allowedUDPPorts = [5353];
|
||||||
};
|
};
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -18,19 +18,19 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
"patricknix" = {
|
"patricknix" = {
|
||||||
hostname = "192.168.178.31";
|
hostname = "patricknix.local";
|
||||||
user = "root";
|
user = "root";
|
||||||
inherit identityFile;
|
inherit identityFile;
|
||||||
};
|
};
|
||||||
|
|
||||||
"testienix" = {
|
"testienix" = {
|
||||||
hostname = "192.168.178.32";
|
hostname = "testienix.local";
|
||||||
user = "root";
|
user = "root";
|
||||||
inherit identityFile;
|
inherit identityFile;
|
||||||
};
|
};
|
||||||
|
|
||||||
"desktopnix" = {
|
"desktopnix" = {
|
||||||
hostname = "192.168.178.30";
|
hostname = "desktopnix.local";
|
||||||
user = "root";
|
user = "root";
|
||||||
inherit identityFile;
|
inherit identityFile;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue