[nixos] Move more stuff into the futros module

This commit is contained in:
Sebastian Schulze 2023-06-01 17:26:35 +02:00
parent 0d0af896f3
commit f0b8322b9c
1 changed files with 12 additions and 0 deletions

View File

@ -5,7 +5,19 @@
config = {
boot.initrd.availableKernelModules = [ "r8169" "nvme" "ehci_pci" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" "amdgpu" ];
boot.initrd.kernelModules = [ "dm-snapshot" "r8169"];
boot.kernelModules = [ "kvm-intel" "r8169" ];
services.prometheus = {
exporters = {
node = {
enable = true;
enabledCollectors = [ "systemd" ];
port = 9100;
};
};
};
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
};
}