Add Avahi support.
This commit is contained in:
parent
7f63999596
commit
d290047090
2 changed files with 13 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
./hardware-configuration.nix
|
||||
../../roles/laptop.nix
|
||||
../../roles/zfs.nix
|
||||
../../roles/avahi.nix
|
||||
../../roles/restic.nix
|
||||
../../base.nix
|
||||
../../users/root.nix
|
||||
|
|
12
roles/avahi.nix
Normal file
12
roles/avahi.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
publish = {
|
||||
enable = true;
|
||||
addresses = true;
|
||||
workstation = true;
|
||||
domain = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue