diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-13 10:57:44 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-13 10:57:44 -0800 |
commit | c53c36099e91901f9c2f5b51ff5ef479d939bc5e (patch) | |
tree | 79e0ce685a7e8a8f6cdbb12b87852481a603169d /hosts | |
parent | home-manager: add redshift (diff) | |
download | world-c53c36099e91901f9c2f5b51ff5ef479d939bc5e.tar.gz |
hosts: enable avahi on desktop
This is going to be needed to print (for example).
Diffstat (limited to '')
-rw-r--r-- | hosts/common/desktop/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/common/desktop/default.nix b/hosts/common/desktop/default.nix index f150066..b5effa9 100644 --- a/hosts/common/desktop/default.nix +++ b/hosts/common/desktop/default.nix @@ -5,4 +5,9 @@ ./sound.nix ./xserver.nix ]; + + services.avahi.enable = true; + # Important to resolve .local domains of printers, otherwise you get an error + # like "Impossible to connect to XXX.local: Name or service not known" + services.avahi.nssmdns = true; } |