From 58256d336d547f70a83c4d28508930589193018e Mon Sep 17 00:00:00 2001 From: Avery Date: Thu, 25 Apr 2024 12:59:02 +0200 Subject: [PATCH] Use GRUB instead of systemd-boot --- hosts/totsugeki/nixos.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/hosts/totsugeki/nixos.nix b/hosts/totsugeki/nixos.nix index 16410ef..5d75913 100644 --- a/hosts/totsugeki/nixos.nix +++ b/hosts/totsugeki/nixos.nix @@ -6,7 +6,14 @@ initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; loader = { - systemd-boot = { enable = true; }; + grub = { + enable = true; + device = "nodev"; + efiSupport = true; + gfxmodeEfi = "2560x1440"; + useOSProber = true; + }; + systemd-boot.enable = false; efi.canTouchEfiVariables = true; }; }; @@ -47,7 +54,10 @@ useDHCP = lib.mkDefault true; }; - time.timeZone = "Europe/Madrid"; + time = { + hardwareClockInLocalTime = true; + timeZone = "Europe/Madrid"; + }; i18n.defaultLocale = "es_ES.UTF-8";