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
12 lines
273 B
Nix
12 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;
|
|
}
|