switch from systemd-boot to grub

This commit is contained in:
Seaswimmer 2024-11-28 22:34:07 -05:00
parent 0d55c75572
commit d64a4b837e
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
2 changed files with 10 additions and 6 deletions

View file

@ -1,9 +1,4 @@
{ pkgs, ... }: { { pkgs, ... }: {
# catppuccin for grub
boot.loader.grub.theme = pkgs.catppuccin-grub.override {
flavor = "mocha";
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# catppuccin # catppuccin
(catppuccin.override { (catppuccin.override {

View file

@ -14,7 +14,16 @@
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
# Bootloader. # 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; boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = hostname; # Define your hostname. networking.hostName = hostname; # Define your hostname.