parent
e1318e6026
commit
df6f5ade40
@ -115,11 +115,11 @@ in
|
|||||||
# gets loaded, and then cups cannot access the printers.
|
# gets loaded, and then cups cannot access the printers.
|
||||||
boot.blacklistedKernelModules = [ "usblp" ];
|
boot.blacklistedKernelModules = [ "usblp" ];
|
||||||
|
|
||||||
jobs.cupsd =
|
systemd.services.cupsd =
|
||||||
{ description = "CUPS Printing Daemon";
|
{ description = "CUPS Printing Daemon";
|
||||||
|
|
||||||
startOn = "started network-interfaces";
|
wantedBy = [ "multi-user.target" ];
|
||||||
stopOn = "stopping network-interfaces";
|
after = [ "network-interfaces.target" ];
|
||||||
|
|
||||||
path = [ cups ];
|
path = [ cups ];
|
||||||
|
|
||||||
@ -131,7 +131,8 @@ in
|
|||||||
mkdir -m 0755 -p ${cfg.tempDir}
|
mkdir -m 0755 -p ${cfg.tempDir}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
exec = "cupsd -c ${pkgs.writeText "cupsd.conf" cfg.cupsdConf} -F";
|
serviceConfig.Type = "forking";
|
||||||
|
serviceConfig.ExecStart = "@${cups}/sbin/cupsd cupsd -c ${pkgs.writeText "cupsd.conf" cfg.cupsdConf}";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.printing.drivers =
|
services.printing.drivers =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user