41 lines
842 B
Nix
41 lines
842 B
Nix
{ config, ... }:
|
|
{
|
|
boot.initrd.availableKernelModules = [
|
|
"xhci_pci"
|
|
"ahci"
|
|
"usbcore"
|
|
"sd_mod"
|
|
];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.initrd.verbose = false;
|
|
boot.kernelModules = [
|
|
"kvm-amd"
|
|
"i2c-dev"
|
|
];
|
|
boot.consoleLogLevel = 0;
|
|
boot.kernelParams = [
|
|
"mitigations=off"
|
|
"preempt=full"
|
|
"quiet"
|
|
"loglevel=3"
|
|
"systemd.show_status=off"
|
|
"rd.udev.log_level=3"
|
|
"vt.global_cursor_default=0"
|
|
];
|
|
boot.supportedFilesystems = {
|
|
ntfs = true;
|
|
btrfs = true;
|
|
};
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
boot.plymouth = {
|
|
enable = true;
|
|
# theme needs fixing
|
|
# inherit (config.rice.plymouth) theme themePackages font;
|
|
};
|
|
|
|
boot.loader.limine.extraEntries = ''
|
|
/Windows
|
|
protocol: efi
|
|
path: boot():/EFI/Microsoft/Boot/bootmgfw.efi
|
|
'';
|
|
}
|