# vim: filetype=firejail
include whitelist-common.inc

dbus-user filter
dbus-user.talk com.feralinteractive.GameMode
dbus-system none

mkdir ~/.local/share/PolyMC
mkdir ~/.config/PolyMC
whitelist ~/.local/share/PolyMC
whitelist ~/.config/PolyMC

caps.drop all
netfilter
nodvd
nogroups
noinput
nonewprivs
# Breaks GameMode
#noroot 
notv
nou2f
novideo
protocol unix,inet,inet6

disable-mnt
private-dev
private-tmp

<% opt.getDeviceConf "polymc-firejail.profile" %>
