summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/wolfram/hardware.nix14
1 files changed, 2 insertions, 12 deletions
diff --git a/machines/wolfram/hardware.nix b/machines/wolfram/hardware.nix
index ee9d233..ca50c9b 100644
--- a/machines/wolfram/hardware.nix
+++ b/machines/wolfram/hardware.nix
@@ -15,12 +15,10 @@
];
boot.initrd.availableKernelModules = [
- "ahci"
"xhci_pci"
+ "ahci"
+ "nvme"
"usbhid"
- "usb_storage"
- "sd_mod"
- "sr_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
@@ -42,14 +40,6 @@
swapDevices = [ ];
- # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
- # (the default) this is the recommended approach. When using systemd-networkd it's
- # still possible to use this option, but it's recommended to use it in conjunction
- # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
- networking.useDHCP = lib.mkDefault true;
- # networking.interfaces.enp0s25.useDHCP = lib.mkDefault true;
- # networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
-
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}