garuda-build (Legacy Fosshost VPS)

General

This server is a legacy, still up Fosshost VPS. Fosshost itself ceased to be quite a while ago, but this server is still up for some reason. Since we can't be sure how long it will stay up, we don't want to put anything important on it. Therefore, its sole purpose is running a disposable build environment for the Chaotic-AUR infra 4.0.

Host-specific tasks

  • Restarting the Docker stack:
    • sudo systemctl restart docker-compose-chaotic-v4-builder-root
    • alternatively: sudo chaotic-restart

Nix expression

{ garuda-lib
, sources
, ...
}:
{
  imports = [
    ../modules
    ./garuda-build/hardware-configuration.nix
    "${sources.chaotic-portable-builder}/nix/nixos.nix"
  ];

  # Base configuration
  networking.interfaces.ens18.ipv4.addresses = [{
    address = "216.158.66.108";
    prefixLength = 24;
  }];
  networking.hostName = "garuda-build";
  networking.defaultGateway = "216.158.66.97";

  # At least try to prevent the insane spam of login attempts
  services.openssh.ports = [ 1022 ];

  # Contains a builder container only
  services.docker-compose-runner.chaotic-v4 = {
    envfile = garuda-lib.secrets.docker-compose.chaotic-v4-builder;
    source = ../../docker-compose/chaotic-v4-builder;
  };

  # Enable the user accounts of chaotic maintainers
  garuda-lib.chaoticUsers = true;

  system.stateVersion = "22.05";
}

Docker containers

{{#include ../../../nixos/hosts/garuda-build/docker-compose.nix}}