Files
nix/hosts/elara/hardware/default.nix
2025-02-10 13:30:18 +00:00

20 lines
428 B
Nix

{ ... }:
{
boot.initrd.kernelModules = [
"xhci_pci"
"uas"
"sd_mod"
];
services.tlp.settings.DISK_DEVICES = "sda";
# By default, this host runs on an external SSD attached to eirene...
imports = [ ../../eirene/hardware ];
# ...but it can also run attached to a SAS-provided laptop.
specialisation.sas.configuration = {
disabledModules = [ ../../eirene/hardware ];
imports = [ ./sas ];
};
}