diff --git a/host-registry.nix b/host-registry.nix
index 4b7bb7ee..04627fd1 100644
--- a/host-registry.nix
+++ b/host-registry.nix
@@ -18,9 +18,6 @@ rec {
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAnEWn/8CKIiCtehh6Ha3XUQqjODj0ygyo3aGAsFWgfG";
};
- hydra.publicKey =
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhurL/sxsXRglKdLfiWIcK+iqpyhGrGt/MoBODsgvig";
- hydra7 = { };
mpd-index = { };
nfs = { };
ncdc.publicKey =
diff --git a/hosts/hydra/c3d2.svg b/hosts/hydra/c3d2.svg
deleted file mode 100644
index 9d201eb6..00000000
--- a/hosts/hydra/c3d2.svg
+++ /dev/null
@@ -1,140 +0,0 @@
-
-
-
-
diff --git a/hosts/hydra/cache.nix b/hosts/hydra/cache.nix
deleted file mode 100644
index 20ecfa84..00000000
--- a/hosts/hydra/cache.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{ config, pkgs, ... }:
-
-{
- services.nix-serve = {
- enable = true;
- secretKeyFile = "/var/cache-priv-key.pem";
- };
-
- services.nginx.virtualHosts."nix-serve.hq.c3d2.de" = {
- forceSSL = true;
- enableACME = true;
- locations."/".extraConfig = ''
- proxy_pass http://127.0.0.1:${toString config.services.nix-serve.port};
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- '';
- };
-
- services.nginx.virtualHosts."depot.hq.c3d2.de" = {
- forceSSL = true;
- enableACME = true;
- locations."/".root = "/srv/www/depot";
- };
-
-}
diff --git a/hosts/hydra/configuration.nix b/hosts/hydra/configuration.nix
deleted file mode 100644
index 149603e1..00000000
--- a/hosts/hydra/configuration.nix
+++ /dev/null
@@ -1,114 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-{
- imports = [ ./hydra.nix ./cache.nix ../../lib ];
-
- c3d2 = {
- users = {
- emery = true;
- windsleep = true;
- };
- isInHq = true;
- mapHqHosts = true;
- hq.interface = "eth0";
- hq.yggdrasil.enableGateway = true;
- };
-
- networking.interfaces.eth0.preferTempAddress = false;
-
- nixpkgs.config.allowUnfree = true;
-
- security.acme = {
- email = "mail@c3d2.de";
- acceptTerms = true;
- };
- security.pam.enableSSHAgentAuth = true;
-
- services.openssh = {
- enable = true;
- passwordAuthentication = false;
- };
-
- programs.mosh.enable = true;
-
- nix = {
- package = pkgs.nixFlakes;
- useSandbox = false;
- maxJobs = lib.mkDefault 10;
- autoOptimiseStore = true;
- gc = {
- automatic = true;
- dates = "06:00";
- options = "--delete-older-than 14d";
- };
- sshServe.enable = true;
- trustedUsers = [ "@wheel" ];
- };
-
- boot = {
- tmpOnTmpfs = true;
- isContainer = true;
- loader.initScript.enable = true;
- loader.grub.enable = false;
- # For cross-building
- binfmt.emulatedSystems = [ "aarch64-linux" ];
- };
-
- fileSystems."/" = {
- fsType = "rootfs";
- device = "rootfs";
- };
-
- networking.hostName = "hydra";
- networking.firewall.enable = false;
-
- networking.useHostResolvConf = true;
-
- # caused problems on this host -- Astro 2019-09-08
- services.resolved.enable = false;
-
- # Set your time zone.
- time.timeZone = "Europe/Berlin";
- i18n = {
- defaultLocale = "en_US.UTF-8";
- supportedLocales = lib.mkForce [ "en_US.UTF-8/UTF-8" ];
- };
-
- environment.systemPackages = with pkgs; [ tmux htop vim gitMinimal ];
-
- # Create a few files early before packing tarball for Proxmox
- # architecture/OS detection.
- system.extraSystemBuilderCmds = ''
- mkdir -m 0755 -p $out/bin
- ln -s ${pkgs.bash}/bin/bash $out/bin/sh
- mkdir -m 0755 -p $out/sbin
- ln -s ../init $out/sbin/init
- '';
-
- services.collectd = {
- enable = true;
- autoLoadPlugin = true;
- extraConfig = ''
- Interval 10
-
-
-
-
-
-
-
-
-
-
-
- Server "grafana.hq.c3d2.de" "25826"
-
- '';
- };
-
- # This value determines the NixOS release with which your system is to be
- # compatible, in order to avoid breaking some software such as database
- # servers. You should change this only after NixOS release notes say you
- # should.
- system.stateVersion = "19.03"; # Did you read the comment?
-}
diff --git a/hosts/hydra/hydra.nix b/hosts/hydra/hydra.nix
deleted file mode 100644
index abb04a9d..00000000
--- a/hosts/hydra/hydra.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-{ config, pkgs, ... }:
-
-{
- nix = {
- binaryCaches =
- [ "https://cache.nixos.org" "https://genodepkgs.cachix.org" ];
- binaryCachePublicKeys = [
- "genodepkgs.cachix.org-1:j6xcYrUP9Q9c+WbS+MbkJR26cqeytOVdC4SmhOYj2Sw="
- ];
- extraOptions = ''
- allowed-uris = http:// https://
- '';
- };
-
- services.hydra = {
- enable = true;
- hydraURL = "https://hydra.hq.c3d2.de";
- logo = ./c3d2.svg;
- notificationSender = "hydra@spam.works";
- package = pkgs.hydra-unstable;
- useSubstitutes = false;
- };
-
- services.nginx = {
- enable = true;
- recommendedProxySettings = true;
- recommendedGzipSettings = true;
- virtualHosts."hydra.hq.c3d2.de" = {
- forceSSL = true;
- enableACME = true;
- locations."/".proxyPass =
- "http://localhost:${toString config.services.hydra.port}";
- };
- };
-}