Guest User

Untitled

a guest
Aug 24th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. { config, pkgs, ... }:
  2.  
  3. {
  4. # List packages installed in system profile. To search by name, run:
  5. # $ nix-env -qaP | grep wget
  6. environment.systemPackages =
  7. [ pkgs.vim
  8. ];
  9.  
  10. environment.systemPath = [ "/usr/local/go/bin:/usr/local/MacGPG2/bin" ];
  11.  
  12. # Auto upgrade nix package and the daemon service.
  13. # services.nix-daemon.enable = true;
  14. # nix.package = pkgs.nix;
  15.  
  16. # Create /etc/bashrc that loads the nix-darwin environment.
  17. programs.zsh.enable = true;
  18. nix.nixPath = [
  19. "darwin-config=$HOME/.dotfiles/nix/configuration.nix"
  20. "/nix/var/nix/profiles/per-user/root/channels"
  21. "$HOME/.nix-defexpr/channels"
  22. ];
  23.  
  24. # Used for backwards compatibility, please read the changelog before changing.
  25. # $ darwin-rebuild changelog
  26. system.stateVersion = 3;
  27.  
  28. # You should generally set this to the total number of logical cores in your system.
  29. # $ sysctl -n hw.ncpu
  30. nix.maxJobs = 1;
  31. nix.buildCores = 1;
  32. }
Advertisement
Add Comment
Please, Sign In to add comment