2024-01-05 18:42:21 +01:00
|
|
|
{ lib, nixos-hardware, ... }:
|
2023-11-28 20:53:18 +01:00
|
|
|
{
|
|
|
|
imports = [
|
2024-01-05 18:42:21 +01:00
|
|
|
# nixos-hardware.dell.g3.3779
|
2023-11-28 20:53:18 +01:00
|
|
|
];
|
|
|
|
|
2023-11-30 19:01:55 +01:00
|
|
|
# UEFI works here, and variables can be touched
|
|
|
|
boot.loader = {
|
|
|
|
efi.canTouchEfiVariables = lib.mkDefault true;
|
|
|
|
grub = {
|
|
|
|
enable = true;
|
|
|
|
efiSupport = true;
|
2023-12-12 22:03:36 +01:00
|
|
|
device = "nodev"; # Don't install on MBR
|
|
|
|
# TODO Maybe we could? In case the HDD doesn't boot anymore?
|
2023-11-30 19:01:55 +01:00
|
|
|
};
|
|
|
|
};
|
2023-11-28 20:53:18 +01:00
|
|
|
}
|