diff options
author | ene <ene@sils.li> | 2023-03-20 18:50:24 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-20 18:50:24 +0100 |
commit | 4598a0c701b6b8aeb0046cf27179b84eaddad081 (patch) | |
tree | e92b60043f20e51f5381cb21de8ee1da4d19f0dd | |
parent | Feat(system): Enable swap & zram swap & hibernate (diff) | |
download | nixos-config-4598a0c701b6b8aeb0046cf27179b84eaddad081.tar.gz nixos-config-4598a0c701b6b8aeb0046cf27179b84eaddad081.zip |
Fix(host/lahmu): Update initrd modules
These are "more" correct.
-rw-r--r-- | hosts/lahmu/hardware/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/hosts/lahmu/hardware/default.nix b/hosts/lahmu/hardware/default.nix index 82e1ec62..b126e673 100644 --- a/hosts/lahmu/hardware/default.nix +++ b/hosts/lahmu/hardware/default.nix @@ -18,12 +18,16 @@ enable = true; mainDisk = "/dev/disk/by-uuid/b1974623-df36-4367-bf12-c0778cd8ff33"; efiDisk = "/dev/disk/by-uuid/201D-E6E7"; + ssd = true; + swap = { + uuid = "TO_BE_ADDED"; + resumeOffset = 10; + }; }; boot = { kernelModules = []; - # TODO check this: - initrd.availableKernelModules = ["xhci_pci" "nvme" "rtsx_pci_sdmmc"]; + initrd.availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk"]; }; } |