aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/nhex.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-m-z/nhex.profile')
-rw-r--r--etc/profile-m-z/nhex.profile62
1 files changed, 62 insertions, 0 deletions
diff --git a/etc/profile-m-z/nhex.profile b/etc/profile-m-z/nhex.profile
new file mode 100644
index 000000000..184e41a9a
--- /dev/null
+++ b/etc/profile-m-z/nhex.profile
@@ -0,0 +1,62 @@
1# Firejail profile for nhex
2# Description: Tauri-based IRC client inspired by HexChat
3# This file is overwritten after every install/update
4# Persistent local customizations
5include nhex.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.cache/nhex
10noblacklist ${HOME}/.local/share/dev.nhex
11
12blacklist /usr/libexec
13
14include disable-common.inc
15include disable-devel.inc
16include disable-exec.inc
17include disable-interpreters.inc
18include disable-proc.inc
19include disable-programs.inc
20include disable-shell.inc
21include disable-xdg.inc
22
23mkdir ${HOME}/.cache/nhex
24mkdir ${HOME}/.local/share/dev.nhex
25whitelist ${DOWNLOADS}
26whitelist ${HOME}/.cache/nhex
27whitelist ${HOME}/.local/share/dev.nhex
28include whitelist-common.inc
29include whitelist-run-common.inc
30include whitelist-runuser-common.inc
31include whitelist-usr-share-common.inc
32include whitelist-var-common.inc
33
34caps.drop all
35machine-id
36netfilter
37no3d
38nodvd
39nogroups
40noinput
41nonewprivs
42noprinters
43noroot
44nosound
45notv
46nou2f
47novideo
48protocol unix,inet,inet6
49seccomp
50seccomp.block-secondary
51tracelog
52
53disable-mnt
54private-bin nhex
55private-cache
56private-dev
57private-tmp
58
59dbus-user none
60dbus-system none
61
62restrict-namespaces