Does this even work??
This commit is contained in:
parent
7aa39a1110
commit
4e145a70d9
5 changed files with 19 additions and 40 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue