From 0ce1e64d60594264c38cdef3355a19ce4dd5d7b1 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 19 Sep 2022 15:57:44 +0800 Subject: [PATCH] rpi-server: remove cups --- nixops/rpi-server.nix | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/nixops/rpi-server.nix b/nixops/rpi-server.nix index 19701ef..3114c51 100644 --- a/nixops/rpi-server.nix +++ b/nixops/rpi-server.nix @@ -109,21 +109,6 @@ ]; programs.fish.enable = true; - services.avahi.enable = true; - services.avahi.publish.enable = true; - services.avahi.publish.userServices = true; - services.printing.enable = true; - services.printing.drivers = [ pkgs.hplip ]; - services.printing.browsing = true; - 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 ]; - systemd.sockets.cups.wants = [ "network-setup.service" ]; - systemd.sockets.cups.after = [ "network-setup.service" ]; - systemd.sockets.cups.wantedBy = [ "multi-user.target" ]; - systemd.services.cups.wantedBy = [ "multi-user.target" ]; - networking.firewall.allowedTCPPorts = [ 631 ]; networking.firewall.interfaces.wlan0.allowedUDPPorts = [ 53 67 ];