2023-08-02 11:54:14 -06:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
services.avahi = {
|
|
|
|
enable = true;
|
|
|
|
nssmdns = true;
|
|
|
|
publish = {
|
|
|
|
enable = true;
|
|
|
|
domain = true;
|
|
|
|
workstation = true;
|
|
|
|
userServices = true;
|
|
|
|
addresses = true;
|
|
|
|
hinfo = true;
|
|
|
|
};
|
|
|
|
extraServiceFiles = {
|
|
|
|
ssh = "''${pkgs.avahi}/etc/avahi/services/ssh.service";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-08-07 13:33:41 -06:00
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
passwordAuthentication = false;
|
|
|
|
};
|
2023-08-02 11:54:14 -06:00
|
|
|
}
|