33 lines
695 B
Nix
33 lines
695 B
Nix
{pkgs, ...}:
|
|
let
|
|
inputs.grub-theme = {
|
|
url = "github:catppuccin/grub";
|
|
flake = false;
|
|
};
|
|
in {
|
|
# Bootloader
|
|
boot = {
|
|
loader = {
|
|
grub = {
|
|
enable = true;
|
|
device = "/dev/sdc"; # "nodev";
|
|
useOSProber = true;
|
|
# efiSupport = true;
|
|
# theme = inputs.grub-theme + "/src/catppuccin-mocha-grub-theme";
|
|
};
|
|
/*
|
|
efi = {
|
|
canTouchEfiVariables = true;
|
|
efiSysMountPoint = "/boot/efi";
|
|
};
|
|
*/
|
|
};
|
|
|
|
extraModprobeConfig = "options kvm_intel nested=1";
|
|
supportedFilesystems = [ "ntfs" "btrfs" "mtpfs" ];
|
|
|
|
kernelModules = [ "kvm-intel" ];
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
};
|
|
}
|