summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-09-30 19:56:45 +0200
committerAlan Pearce2017-09-30 19:56:45 +0200
commit2701e96b83ab2b1a1df4edda1f321ea8325aaec4 (patch)
tree8313a5a92b3d21d8ae59f957f55f5cb0e5ad7932
parent7af44ef3e3297bcd8784787e281d1cb365da4a59 (diff)
downloadnixos-configuration-2701e96b83ab2b1a1df4edda1f321ea8325aaec4.tar.lz
nixos-configuration-2701e96b83ab2b1a1df4edda1f321ea8325aaec4.tar.zst
nixos-configuration-2701e96b83ab2b1a1df4edda1f321ea8325aaec4.zip
printing: Use CUPS socket instead of service
-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 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