services: printing: enable browsing, add drivers
This commit is contained in:
parent
fe40ebce25
commit
4b8775bab0
1 changed files with 17 additions and 3 deletions
|
@ -18,15 +18,28 @@ in {
|
||||||
tempDir = "/tmp/cups";
|
tempDir = "/tmp/cups";
|
||||||
|
|
||||||
# Do not advertise shared printers.
|
# Do not advertise shared printers.
|
||||||
browsing = false;
|
browsing = true;
|
||||||
|
|
||||||
|
# browsedConf = ''
|
||||||
|
# BrowseDNSSDSubTypes _cups,_print
|
||||||
|
# BrowseLocalProtocols all
|
||||||
|
# BrowseRemoteProtocols all
|
||||||
|
# CreateIPPPrinterQueues All
|
||||||
|
|
||||||
|
# BrowseProtocols all
|
||||||
|
# '';
|
||||||
|
|
||||||
# Enable the CUPS webinterface, accessible at localhost:631.
|
# Enable the CUPS webinterface, accessible at localhost:631.
|
||||||
webInterface = true;
|
webInterface = true;
|
||||||
|
|
||||||
|
logLevel = "debug";
|
||||||
|
|
||||||
# Some local or network printers might need additional drivers.
|
# Some local or network printers might need additional drivers.
|
||||||
# These can be added into here.
|
# These can be added into here.
|
||||||
drivers = [
|
drivers = with pkgs; [
|
||||||
pkgs.cups-kyocera-ecosys-m552x-p502x
|
gutenprint
|
||||||
|
cups-kyocera-ecosys-m552x-p502x
|
||||||
|
cups-filters
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -35,6 +48,7 @@ in {
|
||||||
avahi = {
|
avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns4 = true;
|
nssmdns4 = true;
|
||||||
|
nssmdns6 = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue