added hardware config
This commit is contained in:
parent
7948555241
commit
b4bc150956
1 changed files with 6 additions and 4 deletions
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
initrd = {
|
initrd = {
|
||||||
availableKernelModules = [ "ahci" "xhci_pci" "ums_realtek" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "sd_mod" "sr_mod" "rtsx_pci_sdmmc" ];
|
||||||
luks.devices.cryptroot.device = "/dev/disk/by-uuid/";
|
luks.devices.cryptroot.device = "/dev/disk/by-uuid/a553c11a-f6f4-4d67-a2d1-ede2615bce3d";
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelModules = [ "kvm-intel" ];
|
kernelModules = [ "kvm-intel" ];
|
||||||
|
@ -28,19 +28,21 @@
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/boot" = {
|
"/boot" = {
|
||||||
device = "/dev/disk/by-uuid/";
|
device = "/dev/disk/by-uuid/5F53-367D";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
"/" = {
|
"/" = {
|
||||||
device = "/dev/disk/by-uuid/";
|
device = "/dev/disk/by-uuid/17cf5e07-0f18-4d16-b5bd-330588b82d3d";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=root" "compress=zstd" "noatime" ];
|
options = [ "subvol=root" "compress=zstd" "noatime" ];
|
||||||
};
|
};
|
||||||
"/nix" = {
|
"/nix" = {
|
||||||
|
device = "/dev/disk/by-uuid/17cf5e07-0f18-4d16-b5bd-330588b82d3d";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=nix" "compress=zstd" "noatime" ];
|
options = [ "subvol=nix" "compress=zstd" "noatime" ];
|
||||||
};
|
};
|
||||||
"/swap" = {
|
"/swap" = {
|
||||||
|
device = "/dev/disk/by-uuid/17cf5e07-0f18-4d16-b5bd-330588b82d3d";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=swap" "noatime" ];
|
options = [ "subvol=swap" "noatime" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue