mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
eb7b41a2a0
most users just want to use all available cores. This commit aligns our defaults with what we do in NixOS
26 lines
822 B
Nix
26 lines
822 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# List packages installed in system profile. To search by name, run:
|
|
# $ nix-env -qaP | grep wget
|
|
environment.systemPackages =
|
|
[ pkgs.vim
|
|
];
|
|
|
|
# Use a custom configuration.nix location.
|
|
# $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix
|
|
# environment.darwinConfig = "$HOME/.config/nixpkgs/darwin/configuration.nix";
|
|
|
|
# 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 = 4;
|
|
}
|