summaryrefslogtreecommitdiff
path: root/modules/nix/default.nix
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-12-15 14:27:47 +0100
committerDaiderd Jordan <daiderd@gmail.com>2016-12-15 14:27:47 +0100
commit5949d2ed5da2c43cedc009202fccce7c8c9bc362 (patch)
tree7f191a36af79cf26e2982fbee215823dfee468e5 /modules/nix/default.nix
parent8ffe2020dd7a440233a6a11893f71b178e657266 (diff)
fix cert bundle for services.nix-daemon
Diffstat (limited to 'modules/nix/default.nix')
-rw-r--r--modules/nix/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/nix/default.nix b/modules/nix/default.nix
index 7a8378c..4268669 100644
--- a/modules/nix/default.nix
+++ b/modules/nix/default.nix
@@ -46,12 +46,12 @@ in
nix = {
- package = mkOption {
+ profile = mkOption {
type = types.path;
default = "/nix/var/nix/profiles/default";
defaultText = "pkgs.nix";
description = ''
- This option specifies the profile or Nix package instance to use throughout the system.
+ This option specifies the profile that contains the Nix package instance to use throughout the system.
'';
};
@@ -335,7 +335,7 @@ in
}
// optionalAttrs cfg.distributedBuilds {
- NIX_BUILD_HOOK = "${cfg.package}/libexec/nix/build-remote.pl";
+ NIX_BUILD_HOOK = "${cfg.profile}/libexec/nix/build-remote.pl";
NIX_REMOTE_SYSTEMS = "/etc/nix/machines";
NIX_CURRENT_LOAD = "/run/nix/current-load";
};