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:
parent
ed72bf6409
commit
849cf9edc4
1 changed files with 3 additions and 5 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue