summaryrefslogtreecommitdiff
path: root/modules/examples
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-10-01 16:18:37 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-10-01 16:37:51 +0200
commitc8cc548dfc53cd2f100d64cab3c50e86486e2fd0 (patch)
treefd8e49565700c12d88cbf87610047ad6d9ee3d8e /modules/examples
parentcf9f74596a4b976207455e51831be9531d95e103 (diff)
examples-simple: add stateVersion
Diffstat (limited to 'modules/examples')
-rw-r--r--modules/examples/simple.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/examples/simple.nix b/modules/examples/simple.nix
index 09767f9..e81e95b 100644
--- a/modules/examples/simple.nix
+++ b/modules/examples/simple.nix
@@ -13,6 +13,10 @@
# 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;
+
# You should generally set this to the total number of logical cores in your system.
# $ sysctl -n hw.ncpu
nix.maxJobs = 1;