diff --git a/config.nix b/config.nix index 568a4f1..88e48e4 100644 --- a/config.nix +++ b/config.nix @@ -9,6 +9,15 @@ ./hardware-configuration.nix ]; + boot.loader = { + efi = { + canTouchEfiVariables = true; + efiSysMountPoint = "/boot/efi"; # ← use the same mount point here. + systemd-boot.enable = true; + }; + }; +}; + # Name your host machine networking.hostName = "NixOS-VM";