add ssh key

This commit is contained in:
2026-02-28 17:26:54 -06:00
parent 7f0629f313
commit fa6abcfd98
6 changed files with 26 additions and 33 deletions

View File

@@ -0,0 +1,23 @@
{ config, lib, ... }: {
options = {
sysconfig.services.avahi.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
};
config = lib.mkIf config.sysconfig.services.avahi.enable {
services.avahi = {
enable = true;
ipv4 = true;
ipv6 = true;
openFirewall = true;
nssmdns4 = true;
wideArea = true;
};
};
}