diff --git a/infra/common/nixos/default.nix b/infra/common/nixos/default.nix index 54b1dff3..71b08426 100644 --- a/infra/common/nixos/default.nix +++ b/infra/common/nixos/default.nix @@ -23,4 +23,9 @@ in nix.extraOptions = '' experimental-features = nix-command flakes ''; + + boot.loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + }; } diff --git a/infra/common/proxmox-qemu-vm.nix b/infra/common/proxmox-qemu-vm.nix index 06d05e87..b100a6d5 100644 --- a/infra/common/proxmox-qemu-vm.nix +++ b/infra/common/proxmox-qemu-vm.nix @@ -6,11 +6,6 @@ imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; boot = { - loader = { - systemd-boot.enable = true; - efi.canTouchEfiVariables = true; - }; - initrd = { availableKernelModules = [ "ata_piix"