Added NixOS configs
This commit is contained in:
30
Hardware/boot.nix
Normal file
30
Hardware/boot.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot = {
|
||||
initrd={
|
||||
availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
|
||||
kernelModules = [ ];
|
||||
};
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
extraModulePackages = [ ];
|
||||
loader = {
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot/efi";
|
||||
};
|
||||
grub = {
|
||||
enable = true;
|
||||
useOSProber = true;
|
||||
efiSupport = true;
|
||||
device = "nodev";
|
||||
splashImage = "/etc/cirno.png"; #hehe
|
||||
splashMode = "stretch";
|
||||
configurationName = "nixbruh";
|
||||
};
|
||||
};
|
||||
kernelParams = [ "nvidia-drm.modeset=1" "intel_pstate=active"];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user