Add preparations for the new location for secureboot keys.

This commit is contained in:
Tom Alexander 2025-01-12 21:00:56 -05:00
parent 4019e6d132
commit 0fb53a4294
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -75,11 +75,15 @@
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
# TODO:
# pkiBundle = "/var/lib/sbctl";
};
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {
hideMounts = true;
directories = [
"/etc/secureboot" # Secure Boot Keys
"/etc/secureboot" # Old Secure Boot Keys location
# TODO: run `doas sbctl setup --migrate` to move keys
"/var/lib/sbctl" # Secure Boot Keys
];
};
})