From 8a075bb837515e8086307321ec9ed44942a577b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?= Date: Thu, 21 Nov 2024 11:57:26 +0100 Subject: [PATCH] Keep vm02116's specificities documented --- infra/common/hardware.nix | 1 - infra/vm02116/configuration.nix | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/infra/common/hardware.nix b/infra/common/hardware.nix index d71fdc5..3410294 100644 --- a/infra/common/hardware.nix +++ b/infra/common/hardware.nix @@ -17,7 +17,6 @@ "virtio_scsi" "sd_mod" "sr_mod" - "xen_blkfront" ]; kernelModules = [ "dm-snapshot" ]; }; diff --git a/infra/vm02116/configuration.nix b/infra/vm02116/configuration.nix index c0d4066..01f855f 100644 --- a/infra/vm02116/configuration.nix +++ b/infra/vm02116/configuration.nix @@ -36,6 +36,10 @@ subversion ]; + ## vm02116 is running on old hardware based on a Xen VM environment, so it + ## needs these extra options. Once the VM gets moved to a newer node, these + ## two options can safely be removed. + boot.initrd.availableKernelModules = [ "xen_blkfront" ]; services.xe-guest-utilities.enable = true; # This option defines the first version of NixOS you have installed on this particular machine,