build02, build03: set gc to 500gb

This commit is contained in:
zowoq 2024-07-09 11:08:35 +10:00
parent 30cfcba9e1
commit c89f7709b8
2 changed files with 4 additions and 0 deletions

View file

@ -11,6 +11,8 @@
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";

View file

@ -17,6 +17,8 @@
./postgresql.nix
];
nixCommunity.gc.gbFree = 500;
systemd.network.networks."10-uplink".networkConfig.Address = "2a01:4f9:3b:2946::1/64";
networking.hostName = "build03";