flake/nixos/profiles/common/opt-in/_legacy-boot.nix
2023-12-31 00:18:35 +08:00

7 lines
143 B
Nix
Executable file

_: {
boot.loader = {
grub.enable = true;
grub.device = "/dev/vda"; # or "nodev" for efi only
systemd-boot.enable = false;
};
}