From f56cb6ac428d4ce9340832fef3fe1463644df9df Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 8 May 2026 23:36:50 -0700 Subject: [PATCH] nixos: use grub on strixi-minaj --- nixos/machines/strixi-minaj.nix | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/nixos/machines/strixi-minaj.nix b/nixos/machines/strixi-minaj.nix index 0f2ce457..c751a56d 100644 --- a/nixos/machines/strixi-minaj.nix +++ b/nixos/machines/strixi-minaj.nix @@ -7,6 +7,7 @@ }: { imports = [ ../configuration.nix + inputs.grub2-themes.nixosModules.default inputs.nixos-hardware.nixosModules.asus-rog-strix-g834jzr ]; @@ -30,7 +31,19 @@ # nixpkgs.config.cudaSupport = true; - boot.loader.systemd-boot.configurationLimit = 5; + myModules.bootloaders.systemdBoot.enable = false; + myModules.bootloaders.grub = { + enable = true; + configurationLimit = 5; + gfxmode = "2560x1600,auto"; + }; + boot.loader.grub2-theme = { + enable = true; + theme = "whitesur"; + icon = "whitesur"; + screen = "2k"; + customResolution = "2560x1600"; + }; environment.systemPackages = with pkgs; [ android-studio @@ -73,9 +86,6 @@ # PRIME sync hybrid mode to keep the compositor and displays on NVIDIA. hardware.nvidia.prime.offload.enable = lib.mkForce false; hardware.nvidia.prime.sync.enable = lib.mkForce false; - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - services.asusd.enable = true; services.supergfxd.settings = { mode = "AsusMuxDgpu";