hosts/*: clean and standardize format
This commit is contained in:
parent
f70739f81c
commit
3a5c6800fa
13 changed files with 62 additions and 135 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue