aboutsummaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-20 18:50:24 +0100
committerene <ene@sils.li>2023-03-20 18:50:24 +0100
commit4598a0c701b6b8aeb0046cf27179b84eaddad081 (patch)
treee92b60043f20e51f5381cb21de8ee1da4d19f0dd /hosts
parentFeat(system): Enable swap & zram swap & hibernate (diff)
downloadnixos-config-4598a0c701b6b8aeb0046cf27179b84eaddad081.zip
Fix(host/lahmu): Update initrd modules
These are "more" correct.
Diffstat (limited to '')
-rw-r--r--hosts/lahmu/hardware/default.nix8
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"];
};
}