nixops: prevent cups from creating broken and conflicting printer entries

https://askubuntu.com/questions/345083/how-do-i-disable-automatic-remote-printer-installation
pull/30/head
Sebastien Bourdeauducq 2020-05-03 14:15:20 +08:00
parent 9695aaf74f
commit 19310060e0
1 changed files with 10 additions and 0 deletions

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;