hst/container: optional runtime and tmpdir sharing

Sharing and persisting these directories do not always make sense. Make it optional here.

Closes #16.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-10-19 03:53:20 +09:00
parent b5b30aea2e
commit 699c19e972
19 changed files with 106 additions and 34 deletions

View File

@@ -136,6 +136,9 @@ in
'';
};
shareRuntime = mkEnableOption "sharing of XDG_RUNTIME_DIR between containers under the same identity";
shareTmpdir = mkEnableOption "sharing of TMPDIR between containers under the same identity";
dbus = {
session = mkOption {
type = nullOr (functionTo anything);