modules/services/printing/cupsd.nix: /etc/cups/mime.{convs,types} are obsolete

Current versions of CUPS (1.4.7 or later, apparently) load these files
from ${cups}/share/mime, so we no longer need the symlinks in /etc.

svn path=/nixos/trunk/; revision=29284
This commit is contained in:
Peter Simons 2011-09-14 18:20:13 +00:00
parent 1744733be8
commit f5e8d35f8e

View File

@ -123,16 +123,6 @@ 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" ];
environment.etc =
[ # CUPS expects the following files in its ServerRoot.
{ source = "${cups}/etc/cups/mime.convs";
target = "cups/mime.convs";
}
{ source = "${cups}/etc/cups/mime.types";
target = "cups/mime.types";
}
];
jobs.cupsd = jobs.cupsd =
{ description = "CUPS printing daemon"; { description = "CUPS printing daemon";