added hardware config

This commit is contained in:
Sanjay Chacku Purakal 2024-06-09 15:47:33 +02:00 committed by GitHub
parent 7948555241
commit b4bc150956
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,8 +11,8 @@
boot = {
initrd = {
availableKernelModules = [ "ahci" "xhci_pci" "ums_realtek" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
luks.devices.cryptroot.device = "/dev/disk/by-uuid/";
availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "sd_mod" "sr_mod" "rtsx_pci_sdmmc" ];
luks.devices.cryptroot.device = "/dev/disk/by-uuid/a553c11a-f6f4-4d67-a2d1-ede2615bce3d";
};
kernelModules = [ "kvm-intel" ];
@ -28,19 +28,21 @@
fileSystems = {
"/boot" = {
device = "/dev/disk/by-uuid/";
device = "/dev/disk/by-uuid/5F53-367D";
fsType = "vfat";
};
"/" = {
device = "/dev/disk/by-uuid/";
device = "/dev/disk/by-uuid/17cf5e07-0f18-4d16-b5bd-330588b82d3d";
fsType = "btrfs";
options = [ "subvol=root" "compress=zstd" "noatime" ];
};
"/nix" = {
device = "/dev/disk/by-uuid/17cf5e07-0f18-4d16-b5bd-330588b82d3d";
fsType = "btrfs";
options = [ "subvol=nix" "compress=zstd" "noatime" ];
};
"/swap" = {
device = "/dev/disk/by-uuid/17cf5e07-0f18-4d16-b5bd-330588b82d3d";
fsType = "btrfs";
options = [ "subvol=swap" "noatime" ];
};