2018-01-13 14:56:49 +01:00
|
|
|
{ config, pkgs, ... }:
|
2016-12-11 13:58:57 +01:00
|
|
|
|
2018-01-13 14:56:49 +01:00
|
|
|
{
|
2016-12-11 13:58:57 +01:00
|
|
|
# List packages installed in system profile. To search by name, run:
|
|
|
|
# $ nix-env -qaP | grep wget
|
|
|
|
environment.systemPackages =
|
2016-12-11 16:33:42 +01:00
|
|
|
[ pkgs.nix-repl
|
2016-12-11 13:58:57 +01:00
|
|
|
];
|
|
|
|
|
2018-03-26 22:43:12 +02:00
|
|
|
# Auto upgrade nix package and the daemon service.
|
|
|
|
# services.nix-daemon.enable = true;
|
|
|
|
# nix.package = pkgs.nix;
|
|
|
|
|
2016-12-15 15:03:57 +01:00
|
|
|
# Create /etc/bashrc that loads the nix-darwin environment.
|
2016-12-13 10:00:10 +01:00
|
|
|
programs.bash.enable = true;
|
2018-01-14 19:31:48 +01:00
|
|
|
# programs.zsh.enable = true;
|
|
|
|
# programs.fish.enable = true;
|
2016-12-11 16:33:42 +01:00
|
|
|
|
2017-10-01 16:18:37 +02:00
|
|
|
# Used for backwards compatibility, please read the changelog before changing.
|
|
|
|
# $ darwin-rebuild changelog
|
2018-04-08 12:01:23 +02:00
|
|
|
system.stateVersion = 3;
|
2017-10-01 16:18:37 +02:00
|
|
|
|
2017-07-23 14:30:36 +02:00
|
|
|
# You should generally set this to the total number of logical cores in your system.
|
|
|
|
# $ sysctl -n hw.ncpu
|
|
|
|
nix.maxJobs = 1;
|
2018-01-13 14:56:49 +01:00
|
|
|
nix.buildCores = 1;
|
2016-12-11 13:58:57 +01:00
|
|
|
}
|