rpi-ext: bind cups to localhost

This commit is contained in:
Sebastien Bourdeauducq 2022-07-20 17:50:01 +08:00
parent eb42f0718c
commit 96537e1fb7
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@
services.printing.enable = true;
services.printing.drivers = [ pkgs.hplip ];
services.printing.browsing = true;
services.printing.listenAddresses = [ "192.168.1.30:631" "192.168.13.1:631" ];
services.printing.listenAddresses = [ "127.0.0.1:631" "192.168.1.30:631" "192.168.13.1:631" ];
services.printing.defaultShared = true;
hardware.sane.enable = true;
hardware.sane.extraBackends = [ pkgs.hplip ];