mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
2a4417d637
as regular files instead of symlinks to the store. * Sudo configuration, enabled through security.sudo.enable (on by default). The contents of the sudoers file is specified in security.sudo.configFile. The default sudoers file allows members of the new "wheel" group to run any command. svn path=/nixos/trunk/; revision=9138
13 lines
273 B
Nix
13 lines
273 B
Nix
{stdenv, configFiles}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "etc";
|
|
|
|
builder = ./make-etc.sh;
|
|
|
|
/* !!! Use toXML. */
|
|
sources = map (x: x.source) configFiles;
|
|
targets = map (x: x.target) configFiles;
|
|
modes = map (x: if x ? mode then x.mode else "symlink") configFiles;
|
|
}
|