major refactor

This commit is contained in:
Henri Dohmen 2025-12-23 23:05:32 +01:00
parent 20472f8d1b
commit d778875a1b
Signed by: hd
GPG key ID: AB79213B044674AE
32 changed files with 495 additions and 428 deletions

View file

@ -2,14 +2,10 @@
{
networking = {
hostName = "solo";
useDHCP = false;
interfaces.enp4s0.useDHCP = true;
firewall = {
enable = true;
};
};
hd.desktop.enable = true;
age.identityPaths = [
"/root/.ssh/id_ed25519"
@ -30,10 +26,8 @@
device = "nodev";
};
};
kernelPackages = pkgs.linuxPackages_6_18;
kernel.sysctl."kernel.sysrq" = 1;
initrd.systemd.network.wait-online.enable = false;
};
@ -42,32 +36,6 @@
cpuFreqGovernor = "performance";
};
hd.desktop.enable = true;
nix = {
buildMachines = [
{
hostName = "noravm";
sshUser = "nixremote";
system = "x86_64-linux";
protocol = "ssh-ng";
maxJobs = 32;
speedFactor = 2;
supportedFeatures = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
];
mandatoryFeatures = [ ];
}
];
distributedBuilds = true;
extraOptions = ''
builders-use-substitutes = true
'';
};
environment.systemPackages = with pkgs; [
prismlauncher
];