programs: komikku: fix sandboxing

This commit is contained in:
2024-02-03 00:52:17 +00:00
parent 2df1b20f02
commit 14b20fd9c2

View File

@@ -3,8 +3,12 @@
sane.programs.komikku = {
sandbox.method = "bwrap"; # TODO:sandbox untested
sandbox.wrapperType = "wrappedDerivation";
sandbox.whitelistDri = true; #< required
secrets.".local/share/komikku/keyrings/plaintext.keyring" = ../../../secrets/common/komikku_accounts.json.bin;
# downloads end up here, and without the toplevel database komikku doesn't know they exist.
persist.byStore.plaintext = [ ".local/share/komikku" ];
persist.byStore.plaintext = [
# also writes to ~/.cache/komikku
".local/share/komikku"
];
};
}