system/hosts/home/configs/boot.nix

14 lines
268 B
Nix
Raw Permalink Normal View History

2024-04-16 02:51:46 +03:00
{ config, lib, ... }:
{
local.nix.allowUnfreePackages =
lib.optional config.boot.loader.grub.memtest86.enable "memtest86";
# Use the GRUB 2 boot loader.
boot.loader.grub = {
enable = true;
device = "/dev/sdb";
# memtest86.enable = true;
};
}