2023-06-11 23:09:59 +02:00
|
|
|
{
|
2024-03-02 22:05:30 +01:00
|
|
|
pkgs,
|
|
|
|
lib,
|
2024-06-15 23:57:54 +02:00
|
|
|
inputs',
|
2024-03-02 22:05:30 +01:00
|
|
|
...
|
|
|
|
}: {
|
2024-06-15 23:57:54 +02:00
|
|
|
imports = [
|
|
|
|
inputs'.self.nixosModules.netboot-xyz
|
|
|
|
];
|
|
|
|
|
|
|
|
boot.netboot-xyz = {
|
|
|
|
grub.efi = {};
|
|
|
|
enable = true;
|
|
|
|
};
|
2023-06-11 23:09:59 +02:00
|
|
|
boot.loader = {
|
|
|
|
systemd-boot.enable = false;
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
grub = {
|
|
|
|
enable = true;
|
|
|
|
efiSupport = true;
|
2023-09-02 16:43:30 +02:00
|
|
|
|
|
|
|
mirroredBoots = [
|
|
|
|
{
|
2024-03-02 22:05:30 +01:00
|
|
|
devices = ["nodev"];
|
2023-09-02 16:43:30 +02:00
|
|
|
path = "/boot/1";
|
|
|
|
efiSysMountPoint = "/boot/1/EFI";
|
|
|
|
}
|
|
|
|
];
|
2023-06-11 23:09:59 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|