From 90efd14e54af4f21810e7db34005910634ec7ca5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?=
 <nicolas.jeannerod@moduscreate.com>
Date: Tue, 25 Feb 2025 19:26:29 +0100
Subject: [PATCH] Remove unused VMs

This has been done in sync with @kevin who removed them from the
Procolix infrastructure as well.
---
 infra/README.md                    |  2 --
 infra/machines/vm02179/default.nix | 28 ----------------------------
 infra/machines/vm02186/default.nix | 28 ----------------------------
 keys/systems/vm02179               |  1 -
 keys/systems/vm02186               |  1 -
 5 files changed, 60 deletions(-)
 delete mode 100644 infra/machines/vm02179/default.nix
 delete mode 100644 infra/machines/vm02186/default.nix
 delete mode 100644 keys/systems/vm02179
 delete mode 100644 keys/systems/vm02186

diff --git a/infra/README.md b/infra/README.md
index 3c113fbc..ac8cd3d1 100644
--- a/infra/README.md
+++ b/infra/README.md
@@ -101,8 +101,6 @@ They host our stable infrastructure.
   Machine   Proxmox       Description              Deployment
   --------- ------------- ------------------------ ------------
   vm02116   Procolix      Forgejo                  `git`
-  vm02179   Procolix      *unused*                 `other`
-  vm02186   Procolix      *unused*                 `other`
   vm02187   Procolix      Wiki                     `web`
   fedi200   Fediversity   Testing machine for Hans `hans`
   fedi201   Fediversity   FediPanel                `kiara`
diff --git a/infra/machines/vm02179/default.nix b/infra/machines/vm02179/default.nix
deleted file mode 100644
index 9298189b..00000000
--- a/infra/machines/vm02179/default.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{
-  fediversityVm = {
-    ipv4.address = "185.206.232.179";
-    ipv6.address = "2a00:51c0:12:1201::179";
-  };
-
-  nixos.module =
-    { lib, ... }:
-    {
-      ## NOTE: This VM was created manually, which requires us to override the
-      ## default disko-based `fileSystems` definition.
-      fileSystems = lib.mkForce {
-        "/" = {
-          device = "/dev/disk/by-uuid/119863f8-55cf-4e2f-ac17-27599a63f241";
-          fsType = "ext4";
-        };
-
-        "/boot" = {
-          device = "/dev/disk/by-uuid/D9F4-9BF0";
-          fsType = "vfat";
-          options = [
-            "fmask=0022"
-            "dmask=0022"
-          ];
-        };
-      };
-    };
-}
diff --git a/infra/machines/vm02186/default.nix b/infra/machines/vm02186/default.nix
deleted file mode 100644
index 60e43aa6..00000000
--- a/infra/machines/vm02186/default.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{
-  fediversityVm = {
-    ipv4.address = "185.206.232.186";
-    ipv6.address = "2a00:51c0:12:1201::186";
-  };
-
-  nixos.module =
-    { lib, ... }:
-    {
-      ## NOTE: This VM was created manually, which requires us to override the
-      ## default disko-based `fileSystems` definition.
-      fileSystems = lib.mkForce {
-        "/" = {
-          device = "/dev/disk/by-uuid/833ac0f9-ad8c-45ae-a9bf-5844e378c44a";
-          fsType = "ext4";
-        };
-
-        "/boot" = {
-          device = "/dev/disk/by-uuid/B4D5-3AF9";
-          fsType = "vfat";
-          options = [
-            "fmask=0022"
-            "dmask=0022"
-          ];
-        };
-      };
-    };
-}
diff --git a/keys/systems/vm02179 b/keys/systems/vm02179
deleted file mode 100644
index d3e0494f..00000000
--- a/keys/systems/vm02179
+++ /dev/null
@@ -1 +0,0 @@
-ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPAsOCOsJ0vNL9fGj0XC25ir8B+k2NlVJzsiVUx+0eWM
diff --git a/keys/systems/vm02186 b/keys/systems/vm02186
deleted file mode 100644
index a3a78b64..00000000
--- a/keys/systems/vm02186
+++ /dev/null
@@ -1 +0,0 @@
-ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII6mnBgEeyYE4tzHeFNHVNBV6KR+hAqh3PYSqlh0QViW