feat(networking): enable ssh publishing on avahi

This commit is contained in:
Infinidoge 2022-04-11 23:40:35 -04:00
parent 32eda010ea
commit 6e4f72402a

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
with lib;
with lib.hlissner;
{
@ -10,6 +10,13 @@ with lib.hlissner;
services.avahi = {
enable = true;
nssmdns = true;
publish = {
enable = true;
userServices = true;
};
extraServiceFiles = {
ssh = "${pkgs.avahi}/etc/avahi/services/ssh.service";
};
};
}
];