switch from systemd-boot
to grub
This commit is contained in:
parent
0d55c75572
commit
d64a4b837e
2 changed files with 10 additions and 6 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue