Browse Source

rpi-server: fix cups startup

master
Sebastien Bourdeauducq 4 months ago
parent
commit
a13d579c9b
  1. 4
      nixops/rpi-server.nix

4
nixops/rpi-server.nix

@ -134,6 +134,10 @@
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 ];

Loading…
Cancel
Save