This commit is contained in:
Greg Leyda 2022-07-09 11:27:58 -04:00
commit beaf5202ca
37 changed files with 1802 additions and 0 deletions

31
boot.nix Executable file
View file

@ -0,0 +1,31 @@
{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;
};
};
}