-
-
Save angerman/fb1eb94a77b47a549163317663e0761d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
# List packages installed in system profile. To search by name, run: | |
# $ nix-env -qaP | grep wget | |
environment.systemPackages = | |
[ pkgs.nix-repl | |
]; | |
# Create /etc/bashrc that loads the nix-darwin environment. | |
programs.bash.enable = true; | |
# Used for backwards compatibility, please read the changelog before changing. | |
# $ darwin-rebuild changelog | |
system.stateVersion = 2; | |
# 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; | |
nix.distributedBuilds = true; | |
nix.buildMachines = [ | |
{ | |
hostName = "nix-docker"; | |
sshUser = "root"; | |
sshKey = "/etc/nix/docker_rsa"; | |
systems = [ "x86_64-linux" ]; | |
maxJobs = 8; | |
supportedFeatures = [ "big-parallel" ]; | |
} | |
]; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment