Does this even work??

This commit is contained in:
Bun 2025-06-09 16:23:54 -04:00
parent 7aa39a1110
commit 4e145a70d9
5 changed files with 19 additions and 40 deletions

View file

@ -2,7 +2,6 @@
{
imports = [
./channels
./distributed
./gc
./unfree
];
@ -10,12 +9,15 @@
nix = {
package = pkgs.lix;
settings = {
auto-optimise-store = true;
experimental-features = [
"nix-command"
"flakes"
];
auto-optimise-store = true;
max-jobs = 0;
trusted-users = [ "root" ];
};
distributedBuilds = true;
};
# Use a newer implementation of nixos-rebuild

View file

@ -1,33 +0,0 @@
{ nodes, ... }:
{
nix = {
settings = {
max-jobs = 0;
trusted-users = [ "root" ];
};
distributedBuilds = true;
buildMachines = with nodes; [
{
hostName = midas.config.deployment.targetHost;
system = midas.config.nixpkgs.localSystem.system;
}
{
hostName = kitty.config.deployment.targetHost;
system = kitty.config.nixpkgs.localSystem.system;
}
{
hostName = prophet.config.deployment.targetHost;
system = prophet.config.nixpkgs.localSystem.system;
}
{
hostName = detritus.config.deployment.targetHost;
system = detritus.config.nixpkgs.localSystem.system;
}
{
hostName = elder.config.deployment.targetHost;
system = elder.config.nixpkgs.localSystem.system;
}
];
};
}