secureboot: restrictive file permissions

This commit is contained in:
Simon Gardling 2025-03-25 11:33:11 -04:00
parent eaec89e698
commit 3447478847
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -86,6 +86,8 @@
rm -fr ${config.boot.lanzaboote.pkiBundle} || true
mkdir -p ${config.boot.lanzaboote.pkiBundle}
${pkgs.gnutar}/bin/tar xf ${./secrets/secureboot.tar} -C ${config.boot.lanzaboote.pkiBundle}
chown -R root:wheel ${config.boot.lanzaboote.pkiBundle}
chmod -R 700 ${config.boot.lanzaboote.pkiBundle}
'';
};