async distributed compilation
This commit is contained in:
parent
6d5415cb36
commit
fa94214498
2 changed files with 29 additions and 0 deletions
|
|
@ -59,6 +59,13 @@
|
||||||
nixos-cosmic,
|
nixos-cosmic,
|
||||||
...
|
...
|
||||||
} @ inputs: {
|
} @ inputs: {
|
||||||
|
hydraJobs = {
|
||||||
|
# inherit
|
||||||
|
# (self)
|
||||||
|
# nixosConfigurations.NOlaptop
|
||||||
|
# ;
|
||||||
|
x86_64-linux.NOlaptop = self.nixosConfigurations.NOlaptop.config.system.build.toplevel;
|
||||||
|
};
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
NOcomputer = nixpkgs.lib.nixosSystem {
|
NOcomputer = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,28 @@
|
||||||
boot.kernel.sysctl."net.ipv4.ip_forward" = "1";
|
boot.kernel.sysctl."net.ipv4.ip_forward" = "1";
|
||||||
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = "1";
|
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = "1";
|
||||||
|
|
||||||
|
nix.buildMachines = [
|
||||||
|
{
|
||||||
|
hostName = "localhost";
|
||||||
|
systems = ["x86_64-linux" "i686-linux"];
|
||||||
|
supportedFeatures = ["big-parallel" "kvm" "nixos-test" "benchmark"];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
nix.extraOptions = ''
|
||||||
|
builders-use-substitutes = true
|
||||||
|
'';
|
||||||
|
services.hydra = {
|
||||||
|
enable = true;
|
||||||
|
hydraURL = "http://localhost:3000";
|
||||||
|
notificationSender = "hydra@localhost";
|
||||||
|
useSubstitutes = true;
|
||||||
|
};
|
||||||
|
nix.settings.allowed-uris = [
|
||||||
|
"github:"
|
||||||
|
"git+https://github.com/"
|
||||||
|
"git+ssh://github.com/"
|
||||||
|
];
|
||||||
|
|
||||||
# services.foldingathome = {
|
# services.foldingathome = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# team = 223518;
|
# team = 223518;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue