programs: komikku: fix sandboxing
This commit is contained in:
@@ -3,8 +3,12 @@
|
|||||||
sane.programs.komikku = {
|
sane.programs.komikku = {
|
||||||
sandbox.method = "bwrap"; # TODO:sandbox untested
|
sandbox.method = "bwrap"; # TODO:sandbox untested
|
||||||
sandbox.wrapperType = "wrappedDerivation";
|
sandbox.wrapperType = "wrappedDerivation";
|
||||||
|
sandbox.whitelistDri = true; #< required
|
||||||
secrets.".local/share/komikku/keyrings/plaintext.keyring" = ../../../secrets/common/komikku_accounts.json.bin;
|
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.
|
# 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"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user