From 0192a1ace079481c9e7d61d07e7e26685589424a Mon Sep 17 00:00:00 2001 From: soraefir Date: Sat, 2 May 2026 10:29:21 +0200 Subject: [PATCH] Fix boot --- systems/gateway/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/systems/gateway/default.nix b/systems/gateway/default.nix index a479c6b..a8eb1e8 100644 --- a/systems/gateway/default.nix +++ b/systems/gateway/default.nix @@ -1,6 +1,15 @@ { config, inputs, ... }: { imports = [ ./hardware.nix ]; + boot.loader.systemd-boot.enable = lib.mkForce true; + boot.loader.grub = { + enable = true; + # device = "nodev"; # Required for EFI# + efiSupport = true; + efiInstallAsRemovable = true;# CRITICAL: This overwrites /boot/EFI/BOOT/BOOTX64.EFI + }; + + services.openssh.enable = true; services.openssh.authorizedKeysFiles = [ config.sops.secrets."iriy_ssh_pub".path