mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
bootloader: limine
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; # used for some packages
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; # used for some packages
|
||||||
nixos-grub-themes.url = "github:jeslie0/nixos-grub-themes";
|
|
||||||
nixpkgs-master.url = "github:nixos/nixpkgs/master"; # used with precaution as they are untested and not cached
|
nixpkgs-master.url = "github:nixos/nixpkgs/master"; # used with precaution as they are untested and not cached
|
||||||
|
|
||||||
# This one is only used when testing some packaging. You must change the path to the correct nixpkgs clone
|
# This one is only used when testing some packaging. You must change the path to the correct nixpkgs clone
|
||||||
|
|||||||
@@ -4,13 +4,15 @@ _: {
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# grub theme
|
# disable other bootloaders
|
||||||
boot.loader.grub = {
|
boot.loader.systemd-boot.enable = false;
|
||||||
theme = inputs.nixos-grub-themes.packages.${pkgs.system}.nixos; # if you want to use nixos grub theme
|
boot.loader.grub.enable = false;
|
||||||
|
|
||||||
|
boot.loader.limine = {
|
||||||
|
enable = true;
|
||||||
|
efiSupport = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Bootloader.
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user