ølaksdøalkds

This commit is contained in:
Peder Bergebakken Sundt 2024-10-04 14:31:13 +02:00
parent 93bfd533bf
commit b27ef07caa
1 changed files with 66 additions and 56 deletions

View File

@ -7,13 +7,13 @@
# buildMachine.speedFactor # buildMachine.speedFactor
# buildMachine.supportedFeatures # buildMachine.supportedFeatures
# buildMachine.mandatoryFeatures # buildMachine.mandatoryFeatures
# buildMachine.protocol
# ssh.listenUser # ssh.listenUser
# ssh.listenPort # ssh.listenPort
# ssh.listenPublicKey # cat /etc/ssh/ssh_host_ed25519_key.pub || ssh-keyscan {{fqdn}} # ssh.listenPublicKey # cat /etc/ssh/ssh_host_ed25519_key.pub || ssh-keyscan {{fqdn}}
# ssh.userPublicKey # sudo ssh-keygen -t ed25519 && sudo cat /root/.ssh/id_ed25519.pub # ssh.userPublicKey # sudo ssh-keygen -t ed25519 && sudo cat /root/.ssh/id_ed25519.pub
#ssh.protocol # ssh.proxyJump # optional hostname
#ssh.proxyJump # ssh.userPrivateKey # optional IdentityFile to use
#ssh.userPrivateKey # IdentityFile to use
# buildMachine.supportedFeatures: # buildMachine.supportedFeatures:
# - "kvm" - has hypervisor # - "kvm" - has hypervisor
@ -22,15 +22,15 @@
# - "big-parallel" - is beefy, for stuff like llvm # - "big-parallel" - is beefy, for stuff like llvm
[__default__] [__default__]
buildMachine.systems = ["x86_64-linux"] buildMachine.systems = ["x86_64-linux", "i686-linux"]
buildMachine.maxJobs = 0 # not a builder buildMachine.maxJobs = 0 # not a builder
buildMachine.speedFactor = 1 buildMachine.speedFactor = 1
buildMachine.supportedFeatures = [] buildMachine.supportedFeatures = []
buildMachine.mandatoryFeatures = [] buildMachine.mandatoryFeatures = []
buildMachine.protocol = "ssh" # "ssh-ng"
ssh.listenUser = "pbsds" # TODO: change ssh.listenUser = "pbsds" # TODO: change
# ssh.listenUser = "nixbld-remote" # ssh.listenUser = "nixbld-remote"
ssh.listenPort = 22 ssh.listenPort = 22
ssh.protocol = "ssh" # "ssh-ng"
# in general: # in general:
# headless: one job per 4 threads and 8GB RAM # headless: one job per 4 threads and 8GB RAM
@ -89,6 +89,8 @@ ssh.listenPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGDuWdqEQ5mmVjuKi6f/Q
ssh.userPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF4v1+FbiEa6Mohpf3/Una5ahKeKSG9yZ9iU5TC7ddL5 root@bjarte" ssh.userPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF4v1+FbiEa6Mohpf3/Una5ahKeKSG9yZ9iU5TC7ddL5 root@bjarte"
["brumlebasse.pbsds.net"] ["brumlebasse.pbsds.net"]
# buildMachine.maxJobs = 1 # 2 threads 2GB
buildMachine.speedFactor = 5 # EPYC 7742
ssh.listenUser = "root" ssh.listenUser = "root"
ssh.listenPort = 2222 ssh.listenPort = 2222
ssh.listenPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILD7+tE6rm742fz+nqa3+zlglMuzCzOQlc0OSJssvgVL" ssh.listenPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILD7+tE6rm742fz+nqa3+zlglMuzCzOQlc0OSJssvgVL"
@ -163,6 +165,14 @@ ssh.userPrivateKey = "/run/secrets/nix-community-builders-ssh-key"
# ssh.listenPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMUTz5i9u5H2FHNAmZJyoJfIGyUm/HfGhfwnc142L3ds" # ssh.listenPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMUTz5i9u5H2FHNAmZJyoJfIGyUm/HfGhfwnc142L3ds"
# ssh.userPrivateKey = "/run/secrets/nix-community-builders-ssh-key" # ssh.userPrivateKey = "/run/secrets/nix-community-builders-ssh-key"
# ["eu.nixbuild.net"]
# https://docs.nixbuild.net/getting-started/index.html
# #buildMachine.systems = [ "x86_64-linux" "i686-linux" "aarch64-linux" "armv7l-linux" ]; # TODO: https://docs.nixbuild.net/arm-builds/index.html
# buildMachine.maxJobs = 100;
# buildMachine.supportedFeatures = [ "big-parallel" ];
# ssh.listenUser = "pbsds"
# ssh.listenPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPIQCZc54poJ8vqawd8TraNryQeJnvH1eLpIDgbiqymM";
# ssh.userPrivateKey = "/run/secrets/nixbuild-dot-net-ssh-key"
["clab01.idi.ntnu.no"] # gtx 4090 ["clab01.idi.ntnu.no"] # gtx 4090
# buildMachine.maxJobs = 1 # 24 threads 64GB # buildMachine.maxJobs = 1 # 24 threads 64GB