Personal-use NixOS configuration
1{
2 config,
3 lib,
4 modulesPath,
5 ...
6}:
7
8{
9 imports = [
10 (modulesPath + "/installer/scan/not-detected.nix")
11 ];
12
13 boot.initrd.availableKernelModules = [
14 "nvme"
15 "xhci_pci"
16 "ahci"
17 "usb_storage"
18 "sd_mod"
19 ];
20 boot.initrd.kernelModules = [ ];
21 boot.kernelModules = [ "kvm-amd" ];
22 boot.extraModulePackages = [ ];
23
24 networking.useDHCP = lib.mkDefault true;
25
26 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
27}