1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

cupsd.nix: Clean up environment.etc

This commit is contained in:
Eelco Dolstra 2014-12-16 18:18:24 +01:00
parent fb079432b0
commit dc6c8b9714

View file

@ -164,17 +164,9 @@ in
environment.variables.CUPS_SERVERROOT = "/etc/cups";
environment.etc = [
{ source = pkgs.writeText "client.conf" cfg.clientConf;
target = "cups/client.conf";
}
{ source = pkgs.writeText "cups-files.conf" cfg.cupsFilesConf;
target = "cups/cups-files.conf";
}
{ source = pkgs.writeText "cupsd.conf" cfg.cupsdConf;
target = "cups/cupsd.conf";
}
];
environment.etc."cups/client.conf".text = cfg.clientConf;
environment.etc."cups/cups-files.conf".text = cfg.cupsFilesConf;
environment.etc."cups/cupsd.conf".text = cfg.cupsdConf;
services.dbus.packages = [ cups ];