about summary refs log tree commit diff
path: root/nixosConfigurations/yavanna
diff options
context:
space:
mode:
Diffstat (limited to 'nixosConfigurations/yavanna')
-rw-r--r--nixosConfigurations/yavanna/default.nix16
1 files changed, 12 insertions, 4 deletions
diff --git a/nixosConfigurations/yavanna/default.nix b/nixosConfigurations/yavanna/default.nix
index e3172a6..d347c61 100644
--- a/nixosConfigurations/yavanna/default.nix
+++ b/nixosConfigurations/yavanna/default.nix
@@ -20,10 +20,18 @@ with lib; {
       device = "/dev/sda";
     };
 
-    initrd = {
-      availableKernelModules = ["uhci_hcd" "ahci"];
-      kernelModules = ["nvme"];
-    };
+    # NOTE This is probably not required, but I cannot test this out without
+    # risking "bricking" my VPS because Kimsufi/OVH doesn't provide a console
+    # access. This configuration was generated via nixos-infect[1] and at the
+    # time I didn't bother to test for loaded kernel modules and just left the
+    # automatically (IIRC) generated `hardware-configuration.nix' as is.
+    #
+    # There's, however, no indication that any NVME drives are being used and,
+    # as the matter of fact, the VPS itself is KVM-shire, so... I'm still not
+    # going to risk it.
+    #
+    # [1]: https://github.com/elitak/nixos-infect
+    initrd.availableKernelModules = ["nvme"];
   };
 
   fileSystems."/" = {

Consider giving Nix/NixOS a try! <3