feat: Added avahi to vagrant.

This commit is contained in:
Spencer Brower
2022-09-02 16:37:06 -04:00
parent 7025345d57
commit aa3cff241c

View File

@@ -11,6 +11,10 @@
options = [ "rw,uid=1001,gid=60,_netdev" ]; # mount as vagrant:nginx options = [ "rw,uid=1001,gid=60,_netdev" ]; # mount as vagrant:nginx
}; };
networking.extraHosts = ''
127.0.0.1 ${config.networking.hostName}.local
'';
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
users.users.root.password = "vagrant"; users.users.root.password = "vagrant";
@@ -26,5 +30,14 @@
}; };
services.openssh.enable = true; services.openssh.enable = true;
services.avahi = {
enable = true;
publish = {
enable = true;
addresses = true;
workstation = false;
};
};
}; };
} }