mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
31 lines
858 B
Nix
Executable file
31 lines
858 B
Nix
Executable file
{pkgs, config, lib, modulesPath, ...}:
|
|
{
|
|
## NEED THIS OR WONT BOOT
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
### NEED THIS OR WONT BOOT
|
|
boot = {
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
initrd = {
|
|
availableKernelModules = [ "nvme" "xhci_pci" "ahci" "uas" "usb_storage" "sd_mod" ];
|
|
kernelModules = [];
|
|
};
|
|
kernelModules = [ "kvm-amd" ];
|
|
blacklistedKernelModules = [ "nouveau" "lbm-nouveau" "pcspkr" ];
|
|
extraModprobeConfig = "";
|
|
kernelParams = [ "fbcon=nodefer" "bgrt_disable" "quiet" "splash" ];
|
|
plymouth = {
|
|
enable = true;
|
|
theme = "breeze";
|
|
logo = ./images/nixos.png;
|
|
};
|
|
loader = {
|
|
systemd-boot = {
|
|
enable = true;
|
|
consoleMode = "max";
|
|
editor = false;
|
|
};
|
|
efi.canTouchEfiVariables = true;
|
|
timeout = 0;
|
|
};
|
|
};
|
|
}
|