kasei/avahi: setup

This commit is contained in:
Oystein Kristoffer Tveit 2024-06-08 12:47:46 +02:00
parent ccc6846b0a
commit 43cabb09ef
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 14 additions and 0 deletions

View File

@ -1,6 +1,7 @@
{ config, lib, pkgs, inputs, specialArgs, ... }:
{
imports = [
./services/avahi.nix
./services/docker.nix
./services/libvirtd.nix
./services/logiops.nix

View File

@ -0,0 +1,13 @@
{ config, pkgs, lib, ... }:
{
services.avahi = {
enable = true;
publish.enable = true;
publish.addresses = true;
publish.domain = true;
publish.hinfo = true;
publish.userServices = true;
publish.workstation = true;
extraServiceFiles.ssh = "${pkgs.avahi}/etc/avahi/services/ssh.service";
};
}