From 2701e96b83ab2b1a1df4edda1f321ea8325aaec4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 30 Sep 2017 19:56:45 +0200 Subject: printing: Use CUPS socket instead of service --- modules/hardware/printing.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/hardware/printing.nix b/modules/hardware/printing.nix index beba72e..32aa403 100644 --- a/modules/hardware/printing.nix +++ b/modules/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 -- cgit 1.4.1