mirror of
https://github.com/SebastianWendel/srx-platform-nix.git
synced 2024-09-19 20:09:02 +02:00
23 lines
471 B
Nix
23 lines
471 B
Nix
|
{ self, inputs, modulesPath, ... }:
|
||
|
{
|
||
|
imports = with inputs; [
|
||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||
|
self.nixosModules.hardware
|
||
|
self.nixosModules.hardware-cpu-amd
|
||
|
srvos.nixosModules.hardware-hetzner-online-amd
|
||
|
];
|
||
|
|
||
|
boot = {
|
||
|
initrd = {
|
||
|
availableKernelModules = [
|
||
|
"xhci_pci"
|
||
|
"ahci"
|
||
|
"nvme"
|
||
|
];
|
||
|
kernelModules = [ ];
|
||
|
};
|
||
|
swraid.enable = true;
|
||
|
zfs.devNodes = "/dev/disk/by-uuid";
|
||
|
};
|
||
|
}
|