Compare commits
2 commits
c77a411103
...
577eebbdf5
| Author | SHA1 | Date | |
|---|---|---|---|
| 577eebbdf5 | |||
| 81376afa2e |
2 changed files with 38 additions and 0 deletions
|
|
@ -68,5 +68,41 @@ in
|
||||||
443
|
443
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nix = {
|
||||||
|
distributedBuilds = true;
|
||||||
|
|
||||||
|
extraOptions = ''
|
||||||
|
builders-use-substitutes = true
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildMachines = [
|
||||||
|
{
|
||||||
|
hostName = "localhost";
|
||||||
|
protocol = null;
|
||||||
|
system = "x86_64-linux";
|
||||||
|
|
||||||
|
supportedFeatures = [
|
||||||
|
"kvm"
|
||||||
|
"nixos-test"
|
||||||
|
"big-parallel"
|
||||||
|
"benchmark"
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
hostName = "100.86.23.74";
|
||||||
|
sshUser = "remotebuild";
|
||||||
|
sshKey = "/root/.ssh/remotebuild";
|
||||||
|
systems = [ "aarch64-linux" ];
|
||||||
|
protocol = "ssh";
|
||||||
|
|
||||||
|
supportedFeatures = [
|
||||||
|
"nixos-test"
|
||||||
|
"big-parallel"
|
||||||
|
"kvm"
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,8 @@
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
# TODO: fix this with sops
|
# TODO: fix this with sops
|
||||||
initialPassword = "asdf";
|
initialPassword = "asdf";
|
||||||
|
|
||||||
|
openssh.authorizedKeys.keys = config.flake.meta.users.cholli.authorizedKeys;
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.settings.trusted-users = [ config.flake.meta.users.cholli.username ];
|
nix.settings.trusted-users = [ config.flake.meta.users.cholli.username ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue