mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-10-10 17:02:43 +02:00
bootloader: reunited desktop and laptop config
This commit is contained in:
1 parent
433bb52cde
commit
f56e535ff6
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