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

@ -6,6 +6,10 @@
}:
{
networking.hostName = "fw";
hd = {
desktop.enable = true;
buildMachines.enable = true;
};
age.identityPaths = [
"/root/.ssh/id_ed25519"
@ -34,8 +38,6 @@
];
services.fprintd.enable = true;
# services.fprintd.tod.enable = true;
# security.pam.enableFscrypt = true;
boot = {
lanzaboote = {
@ -45,15 +47,10 @@
loader = {
systemd-boot.enable = lib.mkForce false;
efi.canTouchEfiVariables = true;
# grub = {
# enable = false;
# efiSupport = true;
# };
};
kernelPackages = pkgs.linuxPackages_6_18;
kernel.sysctl."kernel.sysrq" = 1;
initrd.systemd.network.wait-online.enable = false;
};
@ -62,37 +59,6 @@
cpuFreqGovernor = "ondemand";
};
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
'';
};
hd.desktop.enable = true;
networking = {
useDHCP = lib.mkDefault true;
firewall.enable = true;
};
# ====== DON'T CHANGE ======
system.stateVersion = "25.05";
}