@cryptotaxi247 / infra-1 / commits / b97fc43c

Delete ceres

Eelco Dolstra committed Jun 7, 2022 at 12:01 UTC b97fc43c2b301d79d1c24cc50f9e52d0e939f242
5 files changed +1 -83
delft/ceres.nix deleted
-61
@@ -1,61 +0,0 @@
1 -{ nodes, config, lib, pkgs, ... }:
2 -
3 -{
4 - imports =
5 - [ ./common.nix
6 - ./fstrim.nix
7 - ./build-machine-common.nix
8 - ];
9 -
10 - deployment.targetEnv = "hetzner";
11 - deployment.hetzner.mainIPv4 = "46.4.66.184";
12 -
13 - # FIXME: manually changed nvme0n1p1 to a /boot disk. We can't use
14 - # GRUB on a RAID-0 disk because it doesn't support the "large_dir"
15 - # ext4 option.
16 - /*
17 - deployment.hetzner.partitions = ''
18 - clearpart --all --initlabel --drives=nvme0n1,nvme1n1
19 -
20 - part raid.1 --ondisk=nvme0n1 --size=16384
21 - part raid.2 --ondisk=nvme1n1 --size=16384
22 -
23 - part raid.3 --grow --ondisk=nvme0n1
24 - part raid.4 --grow --ondisk=nvme1n1
25 -
26 - raid swap --level=1 --device=md0 --fstype=swap --label=root raid.1 raid.2
27 - raid / --level=1 --device=md1 --fstype=ext4 --label=root raid.3 raid.4
28 - '';
29 - */
30 -
31 - fileSystems."/boot" =
32 - { device = "/dev/disk/by-label/boot";
33 - fsType = "ext4";
34 - };
35 -
36 - swapDevices = lib.mkForce [];
37 -
38 - networking = {
39 - firewall.allowedTCPPorts = [
40 - 80 443
41 - 9199 # hydra-notify's prometheus
42 - ];
43 - firewall.allowPing = true;
44 - firewall.logRefusedConnections = true;
45 - };
46 -
47 - # zramSwap.enable = true;
48 -
49 - #nix.gc.automatic = true;
50 - #nix.gc.options = ''--max-freed "$((400 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';
51 - #nix.gc.dates = "03,09,15,21:15";
52 -
53 - nix.extraOptions = "gc-keep-outputs = false";
54 -
55 - networking.defaultMailServer.directDelivery = lib.mkForce false;
56 - #services.postfix.enable = true;
57 - #services.postfix.hostname = "hydra.nixos.org";
58 -
59 - # Don't rate-limit the journal.
60 - services.journald.rateLimitBurst = 0;
61 -}
delft/eris.nix
-1
@@ -18,7 +18,6 @@ in {
18
19 networking.extraHosts = ''
20 10.254.1.1 bastion
21 - 10.254.1.3 ceres
21 10.254.1.5 rhea
22
23 10.254.1.9 haumea
delft/network.nix
-6
@@ -74,12 +74,6 @@ in {
74
75 eris = import ./eris.nix;
76
77 - ceres = {
78 - imports =
79 - [ ./ceres.nix
80 - ];
81 - };
82 -
77 haumea = {
78 imports = [ ./haumea.nix ];
79 };
modules/wireguard-hosts.toml
+1 -6
@@ -20,12 +20,7 @@ port = 51820
20 publicKey = "nG7I9gegJIynKOZ6tzpvmLdCZ/xScTgRZeFvYLFyil4="
21
22 # tombstone: 10.254.1.2 chef
23 -
24 -[hosts.ceres]
25 -endpoint = "46.4.66.184"
26 -ip = "10.254.1.3"
27 -port = 51820
28 -publicKey = "wkUjkjJtJ9yC1xh2pSbTfyuPkeUnvgxGIHFKxVCGJT8="
23 +# tomstone: 10.254.1.3 ceres
24
25 [hosts.eris]
26 endpoint = "138.201.32.77"
terraform/dns.tf
-9
@@ -17,15 +17,6 @@ locals {
17 value = "34.254.208.229"
18 },
19 {
20 - hostname = "ceres.nixos.org"
21 - type = "A"
22 - value = "46.4.66.184"
23 - },
24 - {
25 - hostname = "ceres.nixos.org"
26 - type = "AAAA"
27 - value = "2a01:4f8:140:244c::"
28 - },
20 {
21 hostname = "haumea.nixos.org"
22 type = "A"