nixops: prevent cups from creating broken and conflicting printer entries

https://askubuntu.com/questions/345083/how-do-i-disable-automatic-remote-printer-installation
This commit is contained in:
Sebastien Bourdeauducq 2020-05-03 14:15:20 +08:00
parent 9695aaf74f
commit 19310060e0

View File

@ -38,6 +38,16 @@ in
# Enable CUPS to print documents.
services.printing = {
enable = true;
extraConf =
''
Browsing Off
BrowseLocalProtocols none
'';
browsedConf =
''
BrowseRemoteProtocols none
BrowseProtocols none
'';
};
services.avahi = {
enable = true;