mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-06 08:47:00 +00:00
27 lines
761 B
Nix
27 lines
761 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# List packages installed in system profile. To search by name, run:
|
|
# $ nix-env -qaP | grep wget
|
|
environment.systemPackages =
|
|
[ pkgs.nix-repl
|
|
];
|
|
|
|
# Auto upgrade nix package and the daemon service.
|
|
# services.nix-daemon.enable = true;
|
|
# nix.package = pkgs.nix;
|
|
|
|
# Create /etc/bashrc that loads the nix-darwin environment.
|
|
programs.bash.enable = true;
|
|
# programs.zsh.enable = true;
|
|
# programs.fish.enable = true;
|
|
|
|
# Used for backwards compatibility, please read the changelog before changing.
|
|
# $ darwin-rebuild changelog
|
|
system.stateVersion = 3;
|
|
|
|
# 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;
|
|
}
|