summaryrefslogtreecommitdiff
path: root/modules/examples/simple.nix
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-01-13 14:56:49 +0100
committerDaiderd Jordan <daiderd@gmail.com>2018-01-13 14:56:49 +0100
commit849cf9edc40044c91fb0cee9ecff46d316362fd0 (patch)
tree10caf10f0bf7648690f725f06b972f507818df83 /modules/examples/simple.nix
parented72bf64097b177ee734a604be37595322654acd (diff)
simple: update example
Diffstat (limited to 'modules/examples/simple.nix')
-rw-r--r--modules/examples/simple.nix8
1 files 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;
}