Hardware config for pardalote

This commit is contained in:
Fern Garden 2025-07-18 19:58:19 +08:00
parent 0d21f295ad
commit 0d966fe5b8
3 changed files with 33 additions and 15 deletions

17
hosts/pardalote/default.nix Executable file
View file

@ -0,0 +1,17 @@
{
boot.initrd.availableKernelModules = ["ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci"];
boot.kernelModules = ["kvm-intel"];
fileSystems."/" = {
device = "/dev/disk/by-uuid/e18f128e-1bd3-45d5-b323-50457e5904b4";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-6d222bd7-973b-4b96-b76f-e4c51e885f63".device = "/dev/disk/by-uuid/6d222bd7-973b-4b96-b76f-e4c51e885f63";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/7560-EA87";
fsType = "vfat";
options = ["fmask=0077" "dmask=0077"];
};
}