From 96537e1fb7a5c55f05f329f341417c1394510f93 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 20 Jul 2022 17:50:01 +0800 Subject: [PATCH] rpi-ext: bind cups to localhost --- nixops/rpi-server.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixops/rpi-server.nix b/nixops/rpi-server.nix index 7f0dba3..19701ef 100644 --- a/nixops/rpi-server.nix +++ b/nixops/rpi-server.nix @@ -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 ];