Add proper hardware.nix file for Steam Deck
This commit is contained in:
parent
6dc0822306
commit
0feea0451b
|
@ -16,15 +16,12 @@
|
||||||
availableKernelModules = [
|
availableKernelModules = [
|
||||||
"nvme"
|
"nvme"
|
||||||
"xhci_pci"
|
"xhci_pci"
|
||||||
"ahci"
|
|
||||||
"usbhid"
|
"usbhid"
|
||||||
"usb_storage"
|
"usb_storage"
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
|
"sdhci_pci"
|
||||||
];
|
];
|
||||||
kernelModules = [
|
kernelModules = [
|
||||||
"vfio"
|
|
||||||
"vfio_pci"
|
|
||||||
"vfio_iommu_type1"
|
|
||||||
"kvm-amd"
|
"kvm-amd"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -39,18 +36,19 @@
|
||||||
# Mount everything as necessary
|
# Mount everything as necessary
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
device = "/dev/disk/by-uuid/f0786b07-8303-416f-87ff-276bfd696387";
|
device = "/dev/disk/by-uuid/b29e4367-8b18-415b-ada9-4d7984db075b";
|
||||||
fsType = "bcachefs";
|
fsType = "btrfs";
|
||||||
};
|
};
|
||||||
"/boot" = {
|
"/boot" = {
|
||||||
device = "/dev/disk/by-uuid/EF6D-9009";
|
device = "/dev/disk/by-uuid/9DE4-C162";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set the swap partition
|
# Set the swap partition
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{ device = "/dev/disk/by-uuid/2e4c5120-716d-4cdc-84a0-c9e6391760db"; }
|
{ device = "/dev/disk/by-uuid/19d962f3-49f5-4fb6-9f11-07525c6cfff0"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface.
|
# Enables DHCP on each ethernet and wireless interface.
|
||||||
|
|
Loading…
Reference in a new issue