mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
bootloader: reunited desktop and laptop config
This commit is contained in:
@@ -1,19 +1,5 @@
|
||||
_: {
|
||||
flake.nixosModules.bootloader-laptop = {
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# grub theme
|
||||
boot.loader.grub = {
|
||||
theme = inputs.nixos-grub-themes.packages.${pkgs.system}.nixos; # if you want to use nixos grub theme
|
||||
};
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
};
|
||||
flake.nixosModules.bootloader-desktop = {
|
||||
flake.nixosModules.bootloader = {
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user