nix-files/hosts/common/programs/komikku.nix

16 lines
545 B
Nix
Raw Normal View History

2023-06-13 04:16:00 +00:00
{ ... }:
{
2023-06-13 04:42:58 +00:00
sane.programs.komikku = {
2024-01-29 12:52:16 +00:00
sandbox.method = "bwrap"; # TODO:sandbox untested
sandbox.wrapperType = "wrappedDerivation";
sandbox.net = "clearnet";
2024-02-03 00:52:17 +00:00
sandbox.whitelistDri = true; #< required
2023-06-13 04:42:58 +00:00
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.
2024-02-03 00:52:17 +00:00
persist.byStore.plaintext = [
# also writes to ~/.cache/komikku
".local/share/komikku"
];
2023-06-13 04:42:58 +00:00
};
2023-06-13 04:16:00 +00:00
}