@cryptotaxi247 / infra-1 / commits / 03fd6173

delft: drop common build machine config

Was imported for ceres, which was temporarily used as a builder in 2022, but left dangling after the machine was pruned from the repository.

Martin Weinelt committed Feb 24, 2024 at 13:04 UTC 03fd6173b49bb3924092d8791cdad9b9b20d230c
1 file changed -18
delft/build-machine-common.nix deleted
-18
@@ -1,18 +0,0 @@
1 -{ config, lib, pkgs, ... }:
2 -
3 -with lib;
4 -
5 -{
6 - nix.gc.automatic = true;
7 - nix.gc.dates = "*:45";
8 - nix.gc.options = ''--max-freed "$((128 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';
9 -
10 - # Randomize GC start times do we don't block all build machines at
11 - # the same time.
12 - systemd.timers.nix-gc.timerConfig.RandomizedDelaySec = mkForce "1800";
13 -
14 - users.extraUsers.root.openssh.authorizedKeys.keys = singleton
15 - ''
16 - command="nix-store --serve --write" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOdxl6gDS7h3oeBBja2RSBxeS51Kp44av8OAJPPJwuU/ hydra-queue-runner@rhea
17 - '';
18 -}