diff --git a/modules/services/printing/cupsd.nix b/modules/services/printing/cupsd.nix index 8599512a5f5..ebc0215d06d 100644 --- a/modules/services/printing/cupsd.nix +++ b/modules/services/printing/cupsd.nix @@ -134,10 +134,7 @@ in startOn = "started network-interfaces"; stopOn = "stopping network-interfaces"; - environment = { - # Cups scripts for printing (psto...) require awk, sed, grep, ... - PATH = "${config.system.path}/bin"; - }; + path = [ config.system.path ]; preStart = ''