# Firejail profile for monero-wallet-gui
# Description: Monero is a peer-to-peer network based digital currency
# This file is overwritten after every install/update
# Persistent local customizations
include monero-wallet-gui.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.bitmonero
noblacklist ${HOME}/.config/monero-project

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-shell.inc

mkdir ${HOME}/.bitmonero
mkdir ${HOME}/.config/monero-project
whitelist ${HOME}/.bitmonero
whitelist ${HOME}/.config/monero-project
include whitelist-common.inc
include whitelist-var-common.inc

caps.drop all
machine-id
netfilter
no3d
nodvd
nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
novideo
restrict-namespaces
protocol unix,inet,inet6
seccomp
tracelog

private-bin monero-wallet-gui
private-dev
# Causes problem with loading of libGL.so
#private-etc alternatives,ca-certificates,crypto-policies,fonts,pki,ssl
private-tmp

memory-deny-write-execute