Skip to content

Commit

Permalink
adding kernel modules
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Jun 12, 2024
1 parent b352a99 commit 2d25990
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions robot.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,31 @@
imports = [
./disk-config.nix
];
boot.swraid = {
enable = true;
mdadmConf = ''
MAILADDR [email protected]
'';
};

boot.loader = {
systemd-boot.enable = false;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
grub = {
version = 2;
boot = {
swraid = {
enable = true;
efiSupport = true;
useOSProber = true;
device = "nodev";
mdadmConf = ''
MAILADDR [email protected]
'';
};
initrd = {
kernelModules = ["nvme"];
availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"];
};
loader = {
systemd-boot.enable = false;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
grub = {
version = 2;
enable = true;
efiSupport = true;
useOSProber = true;
device = "nodev";
};
};
};

Expand Down

0 comments on commit 2d25990

Please sign in to comment.