update hostnames

This commit is contained in:
Johannes Jöns 2024-02-06 12:47:16 +01:00
parent 367058bc39
commit a0c08d2501

View file

@ -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" ];
''; };
}; };
} }