Turn on os-prober for desktop

This commit is contained in:
Kiana Sheibani 2023-02-11 19:57:20 -05:00
parent cfa28e8dd2
commit da3833dbaa

View file

@ -3,6 +3,7 @@
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
boot.loader.grub.useOSProber = true;
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];