Update vm hardware

This commit is contained in:
Nathan McCarty 2023-06-18 04:40:14 -04:00
parent ddca756838
commit 2b8848eff9
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 6 additions and 23 deletions

View File

@ -7,33 +7,18 @@
imports = [ ]; imports = [ ];
boot.initrd.availableKernelModules = boot.initrd.availableKernelModules =
[ "ata_piix" "mptspi" "uhci_hcd" "ehci_pci" "sd_mod" "sr_mod" ]; [ "ata_piix" "mptspi" "uhci_hcd" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = boot.kernelModules = [ ];
[ "vmw_ballon" "vmw_pvscsi" "vmw_vmci" "vmwgfx" "vmxnet3" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems = { fileSystems."/" = {
"/" = { device = "/dev/disk/by-uuid/09b33aea-1ba4-45de-9973-bded8dad8ac9";
device = "/dev/disk/by-uuid/af524dfe-a89e-4527-908d-eabdb09a3c71"; fsType = "ext4";
fsType = "ext4";
};
"/mnt/hgfs" = {
device = ".host:/";
fsType = "fuse./run/current-system/sw/bin/vmhgfs-fuse";
options = [
"umask=22"
"uid=1000"
"gid=1000"
"allow_other"
"defaults"
"auto_unmount"
];
};
}; };
swapDevices = swapDevices =
[{ device = "/dev/disk/by-uuid/6d1d7bfa-676a-4b81-ba92-5ba110375814"; }]; [{ device = "/dev/disk/by-uuid/62754f77-dc2f-49f0-9d86-c1f9c9b8fe8f"; }];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # 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 # (the default) this is the recommended approach. When using systemd-networkd it's
@ -43,6 +28,4 @@
# networking.interfaces.ens33.useDHCP = lib.mkDefault true; # networking.interfaces.ens33.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
} }