diff options
Diffstat (limited to 'hosts/neptune/hardware-configuration.nix')
-rw-r--r-- | hosts/neptune/hardware-configuration.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/hosts/neptune/hardware-configuration.nix b/hosts/neptune/hardware-configuration.nix new file mode 100644 index 0000000..051169d --- /dev/null +++ b/hosts/neptune/hardware-configuration.nix @@ -0,0 +1,18 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ #(modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + #nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + #hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} |