fix boot devices steamdeck, add ykfde

This commit is contained in:
2023-09-28 19:29:50 +02:00
parent a82b2fac68
commit 6d47e49918
5 changed files with 60 additions and 8 deletions

View File

@@ -11,33 +11,31 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/2bc0a1c5-dd58-4824-9a27-4e6e6f33a2e8";
{ device = "/dev/disk/by-uuid/ea402301-d29d-4e6c-a72b-f1132051a23e";
fsType = "ext4";
};
# boot.initrd.luks.devices."luks-4dfc511b-12f9-46ef-be2a-f4e026263005".device = "/dev/disk/by-uuid/4dfc511b-12f9-46ef-be2a-f4e026263005";
boot.initrd.luks = {
yubikeySupport = true;
devices."luks-4dfc511b-12f9-46ef-be2a-f4e026263005" = {
device = "/dev/disk/by-uuid/4dfc511b-12f9-46ef-be2a-f4e026263005";
devices."luks-09c74bcb-f82c-405d-b938-2c4e6c3c8a54" = {
device = "/dev/disk/by-uuid/09c74bcb-f82c-405d-b938-2c4e6c3c8a54";
yubikey = {
slot = 2;
twoFactor = false;
storage = {
device = "/dev/disk/by-uuid/661D-F155";
device = "/dev/disk/by-uuid/7694-405E";
};
};
};
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/661D-F155";
{ device = "/dev/disk/by-uuid/7694-405E";
fsType = "vfat";
};
fileSystems."/run/media/sdcard" =
{ device = "/dev/disk/by-uuid/de7d0993-d547-4d9b-a99a-8a8d71fc05e2";
{ device = "/dev/disk/by-uuid/09c74bcb-f82c-405d-b938-2c4e6c3c8a54";
fsType = "ext4";
};