hosts/*: clean and standardize format

This commit is contained in:
Infinidoge 2025-03-11 14:42:23 -04:00
parent f70739f81c
commit 3a5c6800fa
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
13 changed files with 62 additions and 135 deletions

View file

@ -1,5 +1,4 @@
{
config,
pkgs,
lib,
...
@ -14,10 +13,10 @@
system.stateVersion = "23.05";
info.loc.purdue = true;
age.rekey.hostPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF7PmPq/7e+YIVAvIcs6EOJ3pZVJhinwus6ZauJ3aVp0 root@Infini-FRAMEWORK";
info.loc.purdue = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
boot.binfmt.addEmulatedSystemsToNixSandbox = true;
@ -68,8 +67,10 @@
extraRemotes = [ "lvfs-testing" ];
uefiCapsuleSettings.DisableCapsuleUpdateOnDisk = "true";
};
systemd.services.fwupd-refresh.after = [ "network-online.target" ];
systemd.services.fwupd-refresh.requires = [ "network-online.target" ];
systemd.services.fwupd-refresh = {
after = [ "network-online.target" ];
requires = [ "network-online.target" ];
};
console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-v32n.psf.gz";
@ -87,35 +88,6 @@
script = "${lib.getExe pkgs.brightnessctl} set 50%";
};
nix.buildMachines = [
#{
# hostName = "infini-desktop";
# system = "x86_64-linux";
# supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
# protocol = "ssh-ng";
# maxJobs = 16;
# speedFactor = 8;
# sshUser = "remotebuild";
#}
{
hostName = "infini-dl360";
systems = [
"x86_64-linux"
"aarch64-linux"
];
supportedFeatures = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
];
protocol = "ssh-ng";
maxJobs = 32;
speedFactor = 16;
sshUser = "remotebuild";
}
];
networking.firewall.allowedUDPPorts = [ 51820 ];
networking.wg-quick.interfaces.wg0 = {