feat: proper ws-home hardware configuration

This commit is contained in:
Jan-Bulthuis committed 2026-10-23 02:23:59 +02:00
1 parent feca19de21
commit 1c32aadd7f
2 files changed
+3 -5

No files matched your search

+2 -4
View File
@@ -1,17 +1,15 @@
{ ... }:
# TODO: Replace with output of `nixos-generate-config --show-hardware-config`
{
# Hardware configuration
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usb_storage"
"sd_mod"
"usbhid"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
boot.zfs.forceImportRoot = false;
hardware.cpu.intel.updateMicrocode = true;
+1 -1
View File
@@ -3,7 +3,7 @@
disk = {
main = {
type = "disk";
device = "/dev/sda"; # TODO: Verify on the actual machine (may be /dev/nvme0n1)
device = "/dev/nvme0n1";
imageSize = "32G"; # For test VMs
content = {
type = "gpt";