feat: proper ws-home hardware configuration
This commit is contained in:
1 parent
feca19de21
commit
1c32aadd7f
2 files changed
+3
-5
No files matched your search
@@ -1,17 +1,15 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
# TODO: Replace with output of `nixos-generate-config --show-hardware-config`
|
|
||||||
{
|
{
|
||||||
# Hardware configuration
|
# Hardware configuration
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
"xhci_pci"
|
"xhci_pci"
|
||||||
"ahci"
|
"ahci"
|
||||||
"nvme"
|
"nvme"
|
||||||
"usb_storage"
|
"usbhid"
|
||||||
"sd_mod"
|
|
||||||
];
|
];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
boot.zfs.forceImportRoot = false;
|
boot.zfs.forceImportRoot = false;
|
||||||
hardware.cpu.intel.updateMicrocode = true;
|
hardware.cpu.intel.updateMicrocode = true;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
disk = {
|
disk = {
|
||||||
main = {
|
main = {
|
||||||
type = "disk";
|
type = "disk";
|
||||||
device = "/dev/sda"; # TODO: Verify on the actual machine (may be /dev/nvme0n1)
|
device = "/dev/nvme0n1";
|
||||||
imageSize = "32G"; # For test VMs
|
imageSize = "32G"; # For test VMs
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
|
|||||||
Reference in new issue
Block a user