darwin stuff
This commit is contained in:
parent
27c930d6bb
commit
454dbfeab2
1 changed files with 32 additions and 2 deletions
|
|
@ -50,23 +50,28 @@ in {
|
|||
"brave-browser"
|
||||
"qutebrowser"
|
||||
"stremio"
|
||||
"firefox"
|
||||
|
||||
# work
|
||||
"slack"
|
||||
"tunnelblick"
|
||||
"dbeaver-community"
|
||||
"claude"
|
||||
"adobe-acrobat-reader"
|
||||
|
||||
# doom emacs
|
||||
"font-symbols-only-nerd-font"
|
||||
|
||||
# media
|
||||
"inkscape"
|
||||
"obs"
|
||||
];
|
||||
};
|
||||
|
||||
nix = {
|
||||
# Necessary for using flakes on this system.
|
||||
settings.experimental-features = "nix-command flakes";
|
||||
extraOptions = ''
|
||||
extra-platforms = x86_64-darwin aarm64-darwin
|
||||
extra-platforms = x86_64-darwin aarch64-darwin aarch64-linux
|
||||
'';
|
||||
gc = {
|
||||
automatic = true;
|
||||
|
|
@ -77,6 +82,31 @@ in {
|
|||
};
|
||||
options = "--delete-older-than 15d";
|
||||
};
|
||||
|
||||
linux-builder = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
distributedBuilds = true;
|
||||
buildMachines = [
|
||||
{
|
||||
hostName = "server.local";
|
||||
sshUser = "polen";
|
||||
sshKey = "/Users/charles/.ssh/id_ed25519";
|
||||
systems = [ "x86_64-linux" "aarch64-linux" ];
|
||||
# optional but recommended:
|
||||
maxJobs = 4; # how many concurrent builds to send
|
||||
speedFactor = 1; # relative priority vs other builders
|
||||
supportedFeatures = [ "nixos-test" "big-parallel" "kvm" ];
|
||||
}
|
||||
];
|
||||
settings.builders-use-substitutes = true;
|
||||
|
||||
settings = {
|
||||
extra-substituters = [ "s3://rc-nix-binary-cache?region=ca-central-1" ];
|
||||
extra-trusted-public-keys = [ "rc-nix-cache:3nJzc2e0wK0zpTmiphHLYJWOMuKJ0Fj/TOF5ulUxr/Q=" ];
|
||||
secret-key-files = [ "/Users/charles/.config/nix/rc-nix-cache-priv-key.pem" ];
|
||||
};
|
||||
};
|
||||
|
||||
# Create /etc/zshrc that loads the nix-darwin environment.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue