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,
lib,
pkgs,
private,
@ -9,11 +8,8 @@
imports = [
./hardware-configuration.nix
./disks.nix
./secrets
./web.nix
private.nixosModules.minecraft-servers
./authentik.nix
./conduwuit.nix
@ -33,23 +29,23 @@
./thelounge.nix
./torrenting.nix
./vaultwarden.nix
./web.nix
];
networking.hostId = "8fa7a57c";
system.stateVersion = "23.11";
age.rekey.hostPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPjmvE76BcPwZSjeNGzlguDQC67Yxa3uyOf5ZmVDWNys root@Infini-DL360";
info.loc.purdue = true;
age.rekey.hostPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPjmvE76BcPwZSjeNGzlguDQC67Yxa3uyOf5ZmVDWNys root@Infini-DL360";
networking.hostId = "8fa7a57c";
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
boot.binfmt.addEmulatedSystemsToNixSandbox = true;
nix.distributedBuilds = false;
modules = {
hardware.form.server = true;
};
modules.hardware.form.server = true;
universe.programming.all.enable = true;
@ -111,9 +107,7 @@
"net.ipv6.conf.all.forwarding" = true;
};
hardware.infiniband = {
enable = true;
};
hardware.infiniband.enable = true;
services.fail2ban.enable = true;
@ -159,8 +153,6 @@
redirectCode = 302;
};
services.minecraft-servers.servers.emd-server.autoStart = lib.mkForce false;
services.borgbackup.jobs."persist" =
let
tmux = lib.getExe pkgs.tmux;