1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00

simple: update example

This commit is contained in:
Daiderd Jordan 2018-01-13 14:56:49 +01:00
parent ed72bf6409
commit 849cf9edc4
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }: { config, pkgs, ... }:
{
{
# List packages installed in system profile. To search by name, run: # List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget # $ nix-env -qaP | grep wget
environment.systemPackages = environment.systemPackages =
@ -10,9 +10,6 @@
# Create /etc/bashrc that loads the nix-darwin environment. # Create /etc/bashrc that loads the nix-darwin environment.
programs.bash.enable = true; 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. # Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog # $ darwin-rebuild changelog
system.stateVersion = 2; system.stateVersion = 2;
@ -20,4 +17,5 @@
# You should generally set this to the total number of logical cores in your system. # You should generally set this to the total number of logical cores in your system.
# $ sysctl -n hw.ncpu # $ sysctl -n hw.ncpu
nix.maxJobs = 1; nix.maxJobs = 1;
nix.buildCores = 1;
} }