Realms are usually configured with the tools for managing realms, but the configuration is stored in a TOML file in the realm directory and can also be edited by hand.
Options
use-waylandIf ’true’ access to Wayland display will be permitted in realm by adding wayland socket /run/user/1000/wayland-0use-x11If ’true’ access to X11 server will be added to realm by bind mounting directory /tmp/.X11-unixuse-soundIf ’true’ allows the use of sound inside realm. The following items will be added to realm:- /dev/snd
- /dev/shm
- /run/user/1000/pulse
use-kvmIf enabled, /dev/kvm will be added to the realm. This option is only available for nspawn realms.use-shared-dirIf enabled the directory /realms/Shared will be bind mounted into the home directory of the realm. This directory is shared between all running realms that have this option enabled as a convenient way to move files between realms.use-ephemeral-homeIf ’true’ the home directory of this realm will be set up in ephemeral mode. The ephemeral home directory is set up with the following steps- Home directory is mounted as tmpfs
- Any files in /realms/skel are copied into home directory
- Any files in /realms/realm-${name}/skel are copied into home directory
- Any directories listed in
ephemeral-persistent-dirsare bind mounted from /realms/realm-${name}/home into ephemeral home directory.
ephemeral-persistent-dirsdefault["Documents"]A list of subdirectories of /realms/realm-${name}/home to bind mount into realm home directory whenephemeral-homeis enabled.use-networknetworknetwork-zonedefault"clear"network zoneuse-gpuEnables hardware graphics acceleration in relam. if ’true’ render node device /dev/dri/renderD128 will be added to realm.use-gpu-card0If ’true’ anduse-gpuis also enabled, privileged device /dev/dri/card0 will be added to realm.realmfsdefault"base"name of realmfs imageoverlaydefault"storage"type of overlay to useterminal-schemeterminal color schemeextra-bindmountsbind mountsextra-bindmounts-roread-only bind mountssystem-realmdefaultfalsesystem realmautostartdefaultfalseautostart realm