diff --git a/nixos/catppuccin.nix b/nixos/catppuccin.nix index eb042a7..59fe4bd 100644 --- a/nixos/catppuccin.nix +++ b/nixos/catppuccin.nix @@ -1,9 +1,4 @@ { pkgs, ... }: { - # catppuccin for grub - boot.loader.grub.theme = pkgs.catppuccin-grub.override { - flavor = "mocha"; - }; - environment.systemPackages = with pkgs; [ # catppuccin (catppuccin.override { diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 9e65892..ee8c985 100755 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -14,7 +14,16 @@ boot.kernelPackages = pkgs.linuxPackages_latest; # Bootloader. - boot.loader.systemd-boot.enable = true; + boot.loader.grub = { + enable = true; + efiSupport = true; + device = "nodev"; + extraEntries = '' + menuentry "Firmware Setup" { + fwsetup + } + ''; + }; boot.loader.efi.canTouchEfiVariables = true; networking.hostName = hostname; # Define your hostname.