NixOS + home-manager configs, mirrored from GitLab SaaS.
gitlab.com/andreijiroh-dev/nixops-config
nix-flake
nixos
home-manager
nixpkgs
nix-flakes
1{ config, lib, ... }:
2{
3 config = {
4 programs.ssh.extraConfig = ''
5 Host eu.nixbuild.net
6 PubkeyAcceptedKeyTypes ssh-ed25519
7 ServerAliveInterval 60
8 IPQoS throughput
9 IdentityFile /path/to/your/private/key
10 '';
11
12 programs.ssh.knownHosts = {
13 nixbuild = {
14 hostNames = [ "eu.nixbuild.net" ];
15 publicKey = with import ./ssh-keys.nix; hosts.nixbuilds-net;
16 };
17 };
18
19 nix = {
20 distributedBuilds = true;
21 buildMachines = [
22 {
23 hostName = "eu.nixbuild.net";
24 system = "x86_64-linux";
25 maxJobs = 100;
26 supportedFeatures = [ "benchmark" "big-parallel" ];
27 }
28 {
29 hostName = "eu.nixbuild.net";
30 system = "arm64-linux";
31 maxJobs = 100;
32 supportedFeatures = [ "benchmark" "big-parallel" ];
33 }
34 ];
35 };
36 };
37}