fixed disk uuids
This commit is contained in:
parent
acc34593af
commit
3aebfcd1b7
1 changed files with 6 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
initrd = {
|
||||
availableKernelModules = [ "ahci" "xhci_pci" "ums_realtek" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||
kernelModules = [ ];
|
||||
luks.devices.cryptroot.device = "/dev/disk/by-uuid/XXXX-XXXX";
|
||||
luks.devices.cryptroot.device = "/dev/disk/by-uuid/470a6d23-9f08-4c4d-afbb-63d6df1ab6a6";
|
||||
};
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
extraModulePackages = [ ];
|
||||
|
@ -15,19 +15,22 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/";
|
||||
device = "/dev/disk/by-uuid/75e6536a-4836-4f50-86b3-f9250edca3c0";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=root" "compress=zstd" "noatime" ];
|
||||
};
|
||||
"/nix" = {
|
||||
device = "/dev/disk/by-uuid/75e6536a-4836-4f50-86b3-f9250edca3c0";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=nix" "compress=zstd" "noatime" ];
|
||||
};
|
||||
"/persist" = {
|
||||
device = "/dev/disk/by-uuid/75e6536a-4836-4f50-86b3-f9250edca3c0";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=persist" "compress=zstd" "noatime" ];
|
||||
};
|
||||
"/swap" = {
|
||||
device = "/dev/disk/by-uuid/75e6536a-4836-4f50-86b3-f9250edca3c0";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=swap" "noatime" ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue