feat: add performance profile, move things around somewhat

This commit is contained in:
Kat Inskip 2025-10-19 14:27:49 -07:00
parent 2189d0592f
commit e16019c75b
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
7 changed files with 45 additions and 66 deletions

View file

@ -0,0 +1,28 @@
{config, ...}: {
programs.ssh.extraConfig = ''
Host daiyousei-build
HostName daiyousei.inskip.me
User root
IdentityAgent /run/user/${config.users.users.kat.uid}/gnupg/S.gpg-agent.ssh
ControlMaster auto
ControlPath ${config.users.users.kat.home}/.ssh/master-%r@%n:%p
ControlPersist 10m
'';
nix = {
buildMachines = [
{
hostName = "daiyousei-build";
system = "aarch64-linux";
protocol = "ssh-ng";
maxJobs = 100;
speedFactor = 1;
supportedFeatures = ["benchmark" "big-parallel" "kvm"];
mandatoryFeatures = [];
}
];
distributedBuilds = true;
extraOptions = ''
builders-use-substitutes = true
'';
};
}

View file

@ -1,4 +0,0 @@
{pkgs, ...}: {
boot.zfs.package = pkgs.zfs_cachyos;
boot.kernelPackages = pkgs.linuxPackages_cachyos-lto;
}