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 ];