mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-10-11 01:12:43 +02:00
bootloader: reunited desktop and laptop config
This commit is contained in:
1 parent
a063b505c6
commit
99f1dd3ec8
3 files changed
+3
-17
No files matched your search
@@ -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