I added this to “/etc/nixos/configuration.nix”:
services = {
openssh = {
enable = true;
passwordAuthentication = true;
};
avahi = {
enable = true;
publish = {
enable = true;
addresses = true;
workstation = true;
};
};
resolved = {
enable = true;
};
};
I did this on two computers running nixos and now they can find each other on my local network. Great.
Only, from my terminal, there doesn’t seem to be internet connection. From my browser, everything works. But git fetch
, nix run
and so on act as if I were disconnected.
Any idea where to start?