From 8f3d89d5420f8bced36599c33056a3908d2ed632 Mon Sep 17 00:00:00 2001 From: Kariya Date: Sun, 1 Mar 2026 04:10:45 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20Grub=E3=81=AE=E5=B0=8E=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/aqua/nixos.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/hosts/aqua/nixos.nix b/hosts/aqua/nixos.nix index 0cb66a0..232cb2d 100644 --- a/hosts/aqua/nixos.nix +++ b/hosts/aqua/nixos.nix @@ -93,8 +93,20 @@ in "v4l2loopback" ]; - boot.loader.systemd-boot.enable = true; + # Bootloader. + boot.loader.systemd-boot.enable = false; boot.loader.efi.canTouchEfiVariables = true; + boot.loader.efi.efiSysMountPoint = "/boot"; + + boot.loader.grub = { + enable = true; + efiSupport = true; + devices = [ "nodev" ]; + useOSProber = true; + + copyKernels = true; + configurationLimit = 10; + }; cornflake.greeter.monitors = [ "DP-1, disable"