Separate boot and interface configurations

This commit is contained in:
Nettika 2024-06-14 20:08:59 -07:00
parent d7092da122
commit 43318032c2
4 changed files with 47 additions and 32 deletions

27
boot.nix Normal file
View file

@ -0,0 +1,27 @@
{ ... }:
{
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
initrd = {
systemd.enable = true;
availableKernelModules = [
"nvme"
"xhci_pci"
"usbhid"
"usb_storage"
"sd_mod"
];
};
kernelModules = ["kvm-amd"];
kernelParams = [
"amd_pstate=active"
"quiet"
"loglevel=3"
"udev.log-priority=3"
];
plymouth.enable = true;
};
}