Separate boot and interface configurations

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

View File

@@ -1,21 +1,5 @@
{ pkgs, ... }:
{
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"usbhid"
"usb_storage"
"sd_mod"
];
kernelModules = ["kvm-amd"];
kernelParams = ["amd_pstate=active"];
};
{
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/648c6539-892c-40d7-8b07-23fe760df02a";
@@ -28,8 +12,6 @@
};
};
nixpkgs.hostPlatform = "x86_64-linux";
hardware = {
enableRedistributableFirmware = true;
cpu.amd.updateMicrocode = true;