From 5bc548944a969ba3e236374adf939c733b9a8687 Mon Sep 17 00:00:00 2001 From: sinavir Date: Mon, 11 Nov 2024 01:20:57 +0100 Subject: [PATCH] fix(krz01): remove unused code --- machines/krz01/_configuration.nix | 3 --- machines/krz01/microvm-ml01.nix | 22 ---------------------- machines/krz01/microvm-router01.nix | 16 ---------------- 3 files changed, 41 deletions(-) delete mode 100644 machines/krz01/microvm-ml01.nix delete mode 100644 machines/krz01/microvm-router01.nix diff --git a/machines/krz01/_configuration.nix b/machines/krz01/_configuration.nix index 2323df4..c65ad99 100644 --- a/machines/krz01/_configuration.nix +++ b/machines/krz01/_configuration.nix @@ -7,9 +7,6 @@ lib.extra.mkConfig { enabledServices = [ # INFO: This list needs to stay sorted alphabetically - # Machine learning API machine - # "microvm-ml01" - # "microvm-router01" "nvidia-tesla-k80" "ollama" "whisper" diff --git a/machines/krz01/microvm-ml01.nix b/machines/krz01/microvm-ml01.nix deleted file mode 100644 index b0a8be8..0000000 --- a/machines/krz01/microvm-ml01.nix +++ /dev/null @@ -1,22 +0,0 @@ -_: { - microvm.autostart = [ "ml01" ]; - microvm.vms.ml01 = { - config = { - networking.hostName = "ml01"; - microvm = { - hypervisor = "cloud-hypervisor"; - vcpu = 4; - mem = 4096; - balloonMem = 2048; - shares = [ - { - source = "/nix/store"; - mountPoint = "/nix/.ro-store"; - tag = "ro-store"; - proto = "virtiofs"; - } - ]; - }; - }; - }; -} diff --git a/machines/krz01/microvm-router01.nix b/machines/krz01/microvm-router01.nix deleted file mode 100644 index 9af9bdf..0000000 --- a/machines/krz01/microvm-router01.nix +++ /dev/null @@ -1,16 +0,0 @@ -_: { - microvm.autostart = [ "router01" ]; - microvm.vms.router01 = { - config = { - networking.hostName = "router01"; - microvm.shares = [ - { - source = "/nix/store"; - mountPoint = "/nix/.ro-store"; - tag = "ro-store"; - proto = "virtiofs"; - } - ]; - }; - }; -}