feat: add absolutesolver hardware-configuration

This commit is contained in:
Jo 2024-09-22 22:57:47 +02:00
parent 3cd04be672
commit b7a3e4c97c
3 changed files with 45 additions and 4 deletions
modules/nixos/common/grub

View file

@ -19,11 +19,14 @@ in {
options.${namespace}.common.grub = { enable = mkEnableOption "grub"; };
config = mkIf cfg.enable {
boot.loader.systemd-boot.enable = false;
boot.loader.grub = {
enable = true;
devices = [ "nodev" ];
efiInstallAsRemovable = true;
efiSupport = true;
version = 2;
extraEntries = ''
menuentry "Reboot" {