mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
Added configuration.nix option to add entries into nix.conf .
svn path=/nixos/trunk/; revision=8910
This commit is contained in:
parent
9ad649ea36
commit
0e92d41124
@ -96,6 +96,9 @@ if test -z "@readOnlyRoot@"; then
|
||||
# WARNING: this file is generated.
|
||||
build-users-group = nixbld
|
||||
build-max-jobs = @maxJobs@
|
||||
|
||||
@extraNixOptions@
|
||||
|
||||
EOF
|
||||
|
||||
chown root.nixbld /nix/store
|
||||
|
@ -847,6 +847,17 @@
|
||||
";
|
||||
}
|
||||
|
||||
{
|
||||
name = ["nix" "extraOptions"];
|
||||
default = "";
|
||||
example = "
|
||||
gc-keep-outputs = true
|
||||
gc-keep-derivations = true
|
||||
";
|
||||
description = "
|
||||
This option allows to append lines to nix.conf.
|
||||
";
|
||||
}
|
||||
|
||||
{
|
||||
name = ["security" "setuidPrograms"];
|
||||
|
@ -249,6 +249,7 @@ rec {
|
||||
config.get ["security" "setuidPrograms"] ++
|
||||
config.get ["security" "extraSetuidPrograms"];
|
||||
maxJobs = config.get ["nix" "maxJobs"];
|
||||
extraNixOptions = config.get ["nix" "extraOptions"];
|
||||
|
||||
inherit (usersGroups) createUsersGroups usersList groupsList;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user