git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #59076 from Yarny0/cups-path-fix

nixos/printing: fix CUPS `SetEnv` directive placement

commit38fdc9f8f84dc35179db18d0295d1eb5ee3e8c59 authorMatthew Bauer <mjbauer95@gmail.com> dateThu 30 May 2019, 10:52 (7 years ago) parent0ced576631c71d
1 file changed+2−2
nixos/modules/services/printing/cupsd.nix+2−2
nixos/modules/services/printing/cupsd.nix+2−2
@@ -60,6 +60,8 @@ let
6060
6161 TempDir ${cfg.tempDir}
6262
63+ SetEnv PATH /var/lib/cups/path/lib/cups/filter:/var/lib/cups/path/bin
64+
6365 # User and group used to run external programs, including
6466 # those that actually send the job to the printer. Note that
6567 # Udev sets the group of printer devices to `lp', so we want
@@ -76,8 +78,6 @@ let
7678 '') cfg.listenAddresses}
7779 Listen /run/cups/cups.sock
7880
79− SetEnv PATH /var/lib/cups/path/lib/cups/filter:/var/lib/cups/path/bin
80−
8181 DefaultShared ${if cfg.defaultShared then "Yes" else "No"}
8282
8383 Browsing ${if cfg.browsing then "Yes" else "No"}