summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2017-09-30 19:56:45 +0200
committerAlan Pearce2017-09-30 19:56:45 +0200
commit2701e96b83ab2b1a1df4edda1f321ea8325aaec4 (patch)
tree8313a5a92b3d21d8ae59f957f55f5cb0e5ad7932 /modules
parent7af44ef3e3297bcd8784787e281d1cb365da4a59 (diff)
downloadnixfiles-2701e96b83ab2b1a1df4edda1f321ea8325aaec4.tar.lz
nixfiles-2701e96b83ab2b1a1df4edda1f321ea8325aaec4.tar.zst
nixfiles-2701e96b83ab2b1a1df4edda1f321ea8325aaec4.zip
printing: Use CUPS socket instead of service
Diffstat (limited to 'modules')
-rw-r--r--modules/hardware/printing.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/hardware/printing.nix b/modules/hardware/printing.nix
index beba72ed..32aa4038 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