diff options
Diffstat (limited to 'etc/nyx.profile')
-rw-r--r-- | etc/nyx.profile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/etc/nyx.profile b/etc/nyx.profile new file mode 100644 index 000000000..d5e1e1f84 --- /dev/null +++ b/etc/nyx.profile | |||
@@ -0,0 +1,52 @@ | |||
1 | # Firejail profile for nyx | ||
2 | # Description: Command-line status monitor for tor | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include nyx.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${PATH}/python2* | ||
10 | noblacklist ${PATH}/python3* | ||
11 | noblacklist /usr/lib/python2* | ||
12 | noblacklist /usr/lib/python3* | ||
13 | |||
14 | noblacklist ${HOME}/.nyx | ||
15 | mkdir ${HOME}/.nyx | ||
16 | whitelist ${HOME}/.nyx | ||
17 | |||
18 | include disable-common.inc | ||
19 | include disable-devel.inc | ||
20 | include disable-interpreters.inc | ||
21 | include disable-passwdmgr.inc | ||
22 | include disable-programs.inc | ||
23 | include disable-xdg.inc | ||
24 | |||
25 | caps.drop all | ||
26 | ipc-namespace | ||
27 | netfilter | ||
28 | no3d | ||
29 | nodbus | ||
30 | nodvd | ||
31 | nogroups | ||
32 | nonewprivs | ||
33 | noroot | ||
34 | nosound | ||
35 | notv | ||
36 | nou2f | ||
37 | novideo | ||
38 | protocol unix,inet,inet6 | ||
39 | seccomp | ||
40 | shell none | ||
41 | |||
42 | disable-mnt | ||
43 | private-bin nyx,python* | ||
44 | private-cache | ||
45 | private-dev | ||
46 | private-etc passwd,tor,fonts | ||
47 | private-opt none | ||
48 | private-srv none | ||
49 | private-tmp | ||
50 | |||
51 | noexec ${HOME} | ||
52 | noexec /tmp | ||