kasei/avahi: setup
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{ config, lib, pkgs, inputs, specialArgs, ... }:
|
{ config, lib, pkgs, inputs, specialArgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./services/avahi.nix
|
||||||
./services/docker.nix
|
./services/docker.nix
|
||||||
./services/libvirtd.nix
|
./services/libvirtd.nix
|
||||||
./services/logiops.nix
|
./services/logiops.nix
|
||||||
|
13
hosts/kasei/services/avahi.nix
Normal file
13
hosts/kasei/services/avahi.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user