infra/hosts/build02/configuration.nix
Jörg Thalheim ab6e716617 make it a shell instead of ssh
I had issues with the network but than didn't bothered further because
the terminal access was good enough.
2024-07-11 22:50:46 +00:00

24 lines
678 B
Nix

{ inputs, ... }:
{
imports = [
inputs.srvos.nixosModules.mixins-nginx
inputs.srvos.nixosModules.hardware-hetzner-online-amd
./nixpkgs-update.nix
./nixpkgs-update-backup.nix
inputs.self.nixosModules.common
inputs.self.nixosModules.builder
inputs.self.nixosModules.disko-zfs
];
nixCommunity.gc.gbFree = 500;
boot.kernelParams = [ "zfs.zfs_arc_max=${toString (24 * 1024 * 1024 * 1024)}" ]; # 24GB, try to limit OOM kills / reboots
networking.hostName = "build02";
networking.nameservers = [ "1.1.1.1" "1.0.0.1" ];
systemd.network.networks."10-uplink".networkConfig.Address = "2a01:4f9:3b:41d9::1";
system.stateVersion = "23.11";
}