mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
cupsd.nix: Clean up environment.etc
This commit is contained in:
parent
fb079432b0
commit
dc6c8b9714
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue