openbao auto unseal

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-08 10:55:35 -06:00
parent 1b4a53b10e
commit b7330b4c09
5 changed files with 113 additions and 114 deletions

View file

@ -1,17 +1,4 @@
{
...
}:
{
time.timeZone = null;
services.automatic-timezoned.enable = true;
# Add a polkit rule so automatic-timezoned can change timezone
security.polkit.extraConfig = ''
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.timedate1.set-timezone" &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
'';
}