droppie: add /dev/sda1

This commit is contained in:
Benjamin Yule Bädorf 2024-06-02 20:19:44 +02:00
parent 3555a2a416
commit 6c4990d40f
Signed by: b12f
GPG key ID: 729956E1124F8F26

View file

@ -13,24 +13,23 @@
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.initrd.luks.devices."cryptroot" = { boot.initrd.luks.devices = {
"cryptroot" = {
device = "/dev/sdb2"; device = "/dev/sdb2";
allowDiscards = true; allowDiscards = true;
}; };
"cryptdata".device = "/dev/sda1";
};
fileSystems."/" = fileSystems."/" =
{ device = "none"; { device = "none";
fsType = "tmpfs"; fsType = "tmpfs";
}; };
fileSystems."/media/internal" =
{ device = "/dev/disk/by-uuid/5cf314a8-82f4-4037-a724-62d2ff226cff";
fsType = "ext4";
};
fileSystems."/nix" = fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/837cc93f-6d9a-4bfd-b089-29ac6d68127c"; { device = "/dev/disk/by-uuid/837cc93f-6d9a-4bfd-b089-29ac6d68127c";
fsType = "ext4"; fsType = "ext4";
neededForBoot = true;
}; };
fileSystems."/persist" = fileSystems."/persist" =
@ -47,6 +46,12 @@
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/991E-79C1"; { device = "/dev/disk/by-uuid/991E-79C1";
fsType = "vfat"; fsType = "vfat";
neededForBoot = true;
};
fileSystems."/data" =
{ device = "/dev/disk/by-uuid/5fc34ef4-207b-45fb-b846-dbb01080d9fe";
fsType = "ext4";
}; };
swapDevices = swapDevices =