Add preparations for the new location for secureboot keys.
This commit is contained in:
parent
4019e6d132
commit
0fb53a4294
@ -75,11 +75,15 @@
|
|||||||
boot.lanzaboote = {
|
boot.lanzaboote = {
|
||||||
enable = true;
|
enable = true;
|
||||||
pkiBundle = "/etc/secureboot";
|
pkiBundle = "/etc/secureboot";
|
||||||
|
# TODO:
|
||||||
|
# pkiBundle = "/var/lib/sbctl";
|
||||||
};
|
};
|
||||||
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {
|
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {
|
||||||
hideMounts = true;
|
hideMounts = true;
|
||||||
directories = [
|
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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user