mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 16:16:34 +01:00
update hostnames
This commit is contained in:
parent
367058bc39
commit
a0c08d2501
1 changed files with 7 additions and 7 deletions
|
@ -40,16 +40,16 @@ in {
|
||||||
hostName = "kuraokami";
|
hostName = "kuraokami";
|
||||||
protocol = "ssh-ng";
|
protocol = "ssh-ng";
|
||||||
})
|
})
|
||||||
{
|
(rec {
|
||||||
systems = [ self.nixosConfigurations.zap.config.nixpkgs.hostPlatform.system ];
|
systems = [ self.nixosConfigurations.zap.config.nixpkgs.hostPlatform.system ];
|
||||||
supportedFeatures = self.nixosConfigurations.zap.config.nix.settings.system-features;
|
supportedFeatures = self.nixosConfigurations.zap.config.nix.settings.system-features;
|
||||||
maxJobs = if hostName != config.networking.hostName then 4 else 0;;
|
maxJobs = if hostName != config.networking.hostName then 4 else 0;
|
||||||
speedFactor = 10;
|
speedFactor = 10;
|
||||||
sshUser = "jopejoe1";
|
sshUser = "jopejoe1";
|
||||||
sshKey = "/home/jopejoe1/.ssh/github";
|
sshKey = "/home/jopejoe1/.ssh/github";
|
||||||
hostName = "zap";
|
hostName = "zap";
|
||||||
protocol = "ssh-ng";
|
protocol = "ssh-ng";
|
||||||
}
|
})
|
||||||
];
|
];
|
||||||
distributedBuilds = true;
|
distributedBuilds = true;
|
||||||
package = pkgs.nixVersions.unstable;
|
package = pkgs.nixVersions.unstable;
|
||||||
|
@ -101,10 +101,10 @@ in {
|
||||||
|
|
||||||
systemd.services.nix-daemon.serviceConfig.LimitNOFILE = lib.mkForce 1048576000;
|
systemd.services.nix-daemon.serviceConfig.LimitNOFILE = lib.mkForce 1048576000;
|
||||||
|
|
||||||
networking.extraHosts = ''
|
networking.hosts = {
|
||||||
192.168.191.46 zap
|
"192.168.191.46" = [ "zap" ];
|
||||||
192.168.191.142 kuraokami
|
"192.168.191.142" = [ "kuraokami" ];
|
||||||
'';
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue