You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
499 B
Nix
28 lines
499 B
Nix
# makes for nice-behaving pve-guests
|
|
# extends pveGuestSupport by adding:
|
|
# - EFI booting
|
|
# ONLY for installed systems
|
|
{ lib, ... }:
|
|
{
|
|
|
|
imports = [
|
|
# from here
|
|
./common.nix
|
|
./pveGuestHwSupport.nix
|
|
];
|
|
|
|
config = {
|
|
|
|
# configure for EFI only
|
|
boot.loader = {
|
|
efi.canTouchEfiVariables = true;
|
|
grub.enable = lib.mkDefault false;
|
|
grub.efiSupport = true; # in case grub is preferred for some reason
|
|
systemd-boot.enable = lib.mkDefault true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|