all repos — nixfiles @ 2701e96b83ab2b1a1df4edda1f321ea8325aaec4

System and user configuration, managed by nix and home-manager

printing: Use CUPS socket instead of service
Alan Pearce alan@alanpearce.eu
Sat, 30 Sep 2017 19:56:45 +0200
commit

2701e96b83ab2b1a1df4edda1f321ea8325aaec4

parent

7af44ef3e3297bcd8784787e281d1cb365da4a59

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M modules/hardware/printing.nixmodules/hardware/printing.nix
@@ -1,6 +1,8 @@ { config, pkgs, lib, ... }:
 
 { services.printing.enable = true;
+  systemd.services.cups.wantedBy = lib.mkForce [];
+  systemd.sockets.cups.wantedBy = [ "sockets.target" ];
 
   imports = [
     ../services/zeroconf.nix