mirror of
https://github.com/SebastianWendel/srx-platform-nix.git
synced 2024-09-20 04:19:01 +02:00
34 lines
745 B
Nix
34 lines
745 B
Nix
|
{ inputs, config, modulesPath, ... }:
|
||
|
{
|
||
|
imports = with inputs; [
|
||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||
|
self.nixosModules.hardware
|
||
|
self.nixosModules.hardware-cpu-intel
|
||
|
self.nixosModules.hardware-gpu-amd
|
||
|
self.nixosModules.hardware-security-secureboot
|
||
|
nixos-hardware.nixosModules.supermicro-x10sll-f
|
||
|
];
|
||
|
|
||
|
boot = {
|
||
|
initrd = {
|
||
|
availableKernelModules = [
|
||
|
"ahci"
|
||
|
"ehci_pci"
|
||
|
"nvme"
|
||
|
"usb_storage"
|
||
|
"usbhid"
|
||
|
"xhci_pci"
|
||
|
];
|
||
|
kernelModules = [ ];
|
||
|
systemd = {
|
||
|
enable = true;
|
||
|
inherit (config.systemd) network;
|
||
|
};
|
||
|
};
|
||
|
loader = {
|
||
|
systemd-boot.enable = true;
|
||
|
efi.canTouchEfiVariables = true;
|
||
|
};
|
||
|
};
|
||
|
}
|