Update config to make printer print
See: https://discourse.nixos.org/t/still-cant-print-after-6-months-canon-mf445dw-at-the-end-of-my-rope/24665/21
This commit is contained in:
parent
79c95f5476
commit
c6cd809f02
1 changed files with 8 additions and 4 deletions
|
|
@ -65,15 +65,19 @@
|
||||||
console.keyMap = "de";
|
console.keyMap = "de";
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
|
# Canon Wifi printer was discovered automatically by CUPS.
|
||||||
|
# No driver installation necessary
|
||||||
|
# See: https://discourse.nixos.org/t/still-cant-print-after-6-months-canon-mf445dw-at-the-end-of-my-rope/24665/21
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
services.printing.drivers = with pkgs; [
|
#services.printing.drivers = with pkgs; [
|
||||||
cups-bjnp # CUPS back-end for Canon printers
|
# cups-bjnp # CUPS back-end for Canon printers
|
||||||
];
|
#];
|
||||||
|
|
||||||
# Enable autodiscovery of network printers
|
# Enable autodiscovery of network printers
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns4 = true;
|
#nssmdns4 = true;
|
||||||
|
nssmdns = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue