diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-01-05 04:22:04 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-01-05 04:22:04 +0300 |
commit | 5e81e4814d6da25ce8531baf0bc2d23da7fc26b3 (patch) | |
tree | cd887f80d9f98d42db556b4a42bcb8d5faa91c84 /nixosConfigurations/yavanna | |
parent | 2022-12-17 (diff) |
2023-01-05
Diffstat (limited to '')
-rw-r--r-- | nixosConfigurations/yavanna/default.nix | 16 |
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."/" = { |