mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-11 17:31:58 +01:00
5b2a0468ca
Signed-off-by: magic_rb <magic_rb@redalder.org>
32 lines
486 B
Nix
32 lines
486 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
inputs',
|
|
...
|
|
}: {
|
|
imports = [
|
|
inputs'.self.nixosModules.netboot-xyz
|
|
];
|
|
|
|
boot.netboot-xyz = {
|
|
grub.efi = {};
|
|
enable = true;
|
|
};
|
|
boot.loader = {
|
|
systemd-boot.enable = false;
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
grub = {
|
|
enable = true;
|
|
efiSupport = true;
|
|
|
|
mirroredBoots = [
|
|
{
|
|
devices = ["nodev"];
|
|
path = "/boot/1";
|
|
efiSysMountPoint = "/boot/1/EFI";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|