forked from M-Labs/it-infra
rpi-server: fix cups startup
This commit is contained in:
parent
c828cf290d
commit
a13d579c9b
@ -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…
Reference in New Issue
Block a user