From 849cf9edc40044c91fb0cee9ecff46d316362fd0 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sat, 13 Jan 2018 14:56:49 +0100 Subject: [PATCH] simple: update example --- modules/examples/simple.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/examples/simple.nix b/modules/examples/simple.nix index e81e95b..b29b164 100644 --- a/modules/examples/simple.nix +++ b/modules/examples/simple.nix @@ -1,6 +1,6 @@ -{ config, lib, pkgs, ... }: -{ +{ config, pkgs, ... }: +{ # List packages installed in system profile. To search by name, run: # $ nix-env -qaP | grep wget environment.systemPackages = @@ -10,9 +10,6 @@ # Create /etc/bashrc that loads the nix-darwin environment. programs.bash.enable = true; - # Recreate /run/current-system symlink after boot. - services.activate-system.enable = true; - # Used for backwards compatibility, please read the changelog before changing. # $ darwin-rebuild changelog system.stateVersion = 2; @@ -20,4 +17,5 @@ # You should generally set this to the total number of logical cores in your system. # $ sysctl -n hw.ncpu nix.maxJobs = 1; + nix.buildCores = 1; }