# This file is overwritten after every install/update
# Persistent local customizations
include openmw.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/openmw-wizardrc
noblacklist ${HOME}/.config/openmw
noblacklist ${HOME}/.local/share/openmw

include whitelist-common.inc

whitelist ${HOME}/.config
mkfile ${HOME}/.config/openmw-wizardrc
whitelist ${HOME}/.config/openmw-wizardrc
mkdir ${HOME}/.config/openmw
whitelist ${HOME}/.config/openmw
mkdir ${HOME}/.local/share/openmw
whitelist ${HOME}/.local/share/openmw
whitelist ${HOME}/games/Morrowind
read-only ${HOME}/games/Morrowind

protocol unix,netlink
seccomp !name_to_handle_at

private-etc asound.conf,group,localtime,machine-id,openmw,pulse

ignore memory-deny-write-execute

include generic-game.inc