95 lines
1.9 KiB
Nix
95 lines
1.9 KiB
Nix
{
|
|
imports = [
|
|
../../agenix/hosts/Styx/config.nix
|
|
../shared/show-update-changelog.nix
|
|
|
|
../darwin/defaults.nix
|
|
../darwin/sudo.nix
|
|
|
|
../darwin/fish.nix
|
|
../darwin/attic.nix
|
|
];
|
|
|
|
nix = {
|
|
settings = {
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
extra-platforms = [ "x86_64-darwin" ];
|
|
|
|
auto-optimise-store = true;
|
|
keep-derivations = true;
|
|
keep-outputs = true;
|
|
|
|
substituters = [
|
|
"https://attic.cache.daniel.sx/nifoc-systems"
|
|
"https://nifoc.cachix.org"
|
|
"https://nix-community.cachix.org"
|
|
];
|
|
|
|
trusted-public-keys = [
|
|
"nifoc-systems:eDDqVP5BFR6/1KvXbF9oUL8JahDdmbrsYtxlQ57LOTU="
|
|
"nifoc.cachix.org-1:ymuftq7RgN/lf/iWXFK8gpwDSAGFaGBeliWe9u6q8II="
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
];
|
|
|
|
trusted-users = [ "@admin" ];
|
|
};
|
|
|
|
configureBuildUsers = true;
|
|
|
|
distributedBuilds = true;
|
|
|
|
buildMachines = [
|
|
{
|
|
hostName = "builder-tanker";
|
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
|
maxJobs = 4;
|
|
}
|
|
|
|
{
|
|
hostName = "builder-mediaserver";
|
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
|
maxJobs = 1;
|
|
}
|
|
|
|
{
|
|
hostName = "builder-argon";
|
|
systems = [ "aarch64-linux" ];
|
|
maxJobs = 2;
|
|
}
|
|
|
|
{
|
|
hostName = "builder-adsb-antenna";
|
|
systems = [ "aarch64-linux" ];
|
|
maxJobs = 1;
|
|
}
|
|
|
|
{
|
|
hostName = "builder-weather-sdr";
|
|
systems = [ "aarch64-linux" ];
|
|
maxJobs = 1;
|
|
}
|
|
];
|
|
|
|
gc = {
|
|
automatic = true;
|
|
user = "daniel";
|
|
interval = { Weekday = 0; Hour = 3; Minute = 15; };
|
|
};
|
|
};
|
|
|
|
documentation.doc.enable = false;
|
|
|
|
users = {
|
|
users.daniel = {
|
|
home = "/Users/daniel";
|
|
};
|
|
};
|
|
|
|
environment = {
|
|
darwinConfig = "$HOME/.config/nixpkgs/system/hosts/Styx.nix";
|
|
};
|
|
|
|
services = {
|
|
nix-daemon.enable = true;
|
|
};
|
|
}
|