pocket-id: add impermanence persistence and fix environmentFile format
This commit is contained in:
parent
f6ededefca
commit
a786687145
2 changed files with 13 additions and 0 deletions
|
|
@ -27,4 +27,17 @@ in
|
||||||
age.secrets.pocket-id-key = {
|
age.secrets.pocket-id-key = {
|
||||||
file = "${inputs.self}/secrets/pocket-id.key.age";
|
file = "${inputs.self}/secrets/pocket-id.key.age";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.persistence.main.directories = [
|
||||||
|
{
|
||||||
|
directory = config.services.pocket-id.dataDir;
|
||||||
|
inherit (config.services.pocket-id) user group;
|
||||||
|
mode = "0700";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
systemd.services.pocket-id.serviceConfig = {
|
||||||
|
PrivateMounts = lib.mkForce false;
|
||||||
|
ProtectSystem = lib.mkForce false;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue