about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-01-14 12:33:59 +0100
committeraszlig <aszlig@redmoonstudios.org>2016-01-14 12:33:59 +0100
commit490ef54f1da87a43b3676a19e67fdf218d8494a0 (patch)
treef63fd91bcdb3d55ef9450aaa7922d6ecea12cadf /modules
parent3a292a8a9c50539385eb8d69612a0944003e27cd (diff)
profiles/base: Switch to nix.buildCores
This option has been there for a long time (since
NixOS/nixpkgs@e8dace2), so let's actually use it instead of putting it
into extraOptions to make sure we get an error should the option be
renamed or removed.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules')
-rw-r--r--modules/user/aszlig/profiles/base.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/aszlig/profiles/base.nix b/modules/user/aszlig/profiles/base.nix
index 4fa7efa7..7d00f1d4 100644
--- a/modules/user/aszlig/profiles/base.nix
+++ b/modules/user/aszlig/profiles/base.nix
@@ -12,8 +12,8 @@ in {
     nix = {
       useChroot = true;
       readOnlyStore = true;
+      buildCores = 0;
       extraOptions = ''
-        build-cores = 0
         auto-optimise-store = true
       '';
     };