diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/disable-common.inc | 1 | ||||
-rw-r--r-- | etc/nyx.profile | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/etc/disable-common.inc b/etc/disable-common.inc index 6a599893e..89c029a61 100644 --- a/etc/disable-common.inc +++ b/etc/disable-common.inc | |||
@@ -302,6 +302,7 @@ blacklist ${HOME}/.msmtprc | |||
302 | blacklist ${HOME}/.mutt | 302 | blacklist ${HOME}/.mutt |
303 | blacklist ${HOME}/.muttrc | 303 | blacklist ${HOME}/.muttrc |
304 | blacklist ${HOME}/.netrc | 304 | blacklist ${HOME}/.netrc |
305 | blacklist ${HOME}/.nyx | ||
305 | blacklist ${HOME}/.pki | 306 | blacklist ${HOME}/.pki |
306 | blacklist ${HOME}/.smbcredentials | 307 | blacklist ${HOME}/.smbcredentials |
307 | blacklist ${HOME}/.ssh | 308 | blacklist ${HOME}/.ssh |
diff --git a/etc/nyx.profile b/etc/nyx.profile new file mode 100644 index 000000000..aa3275a00 --- /dev/null +++ b/etc/nyx.profile | |||
@@ -0,0 +1,58 @@ | |||
1 | # Firejail profile for nyx | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include nyx.local | ||
5 | # Persistent global definitions | ||
6 | include globals.local | ||
7 | |||
8 | noblacklist ${PATH}/python3* | ||
9 | noblacklist /usr/include/python3* | ||
10 | noblacklist /usr/lib/python3* | ||
11 | noblacklist /usr/local/lib/python3* | ||
12 | noblacklist /usr/share/python3* | ||
13 | |||
14 | noblacklist ${HOME}/.nyx | ||
15 | |||
16 | mkdir ${HOME}/.nyx | ||
17 | |||
18 | whitelist ${HOME}/.nyx | ||
19 | |||
20 | include disable-common.inc | ||
21 | include disable-devel.inc | ||
22 | include disable-interpreters.inc | ||
23 | include disable-passwdmgr.inc | ||
24 | include disable-programs.inc | ||
25 | include disable-xdg.inc | ||
26 | |||
27 | # apparmor | ||
28 | caps.drop all | ||
29 | # ipc-namespace | ||
30 | netfilter | ||
31 | no3d | ||
32 | nodbus | ||
33 | nodvd | ||
34 | nogroups | ||
35 | nonewprivs | ||
36 | noroot | ||
37 | nosound | ||
38 | notv | ||
39 | nou2f | ||
40 | novideo | ||
41 | protocol unix,inet,inet6 | ||
42 | seccomp | ||
43 | shell none | ||
44 | # tracelog | ||
45 | |||
46 | disable-mnt | ||
47 | private-bin nyx,python | ||
48 | private-cache | ||
49 | private-dev | ||
50 | private-etc passwd,tor | ||
51 | # private-lib | ||
52 | private-opt none | ||
53 | private-srv none | ||
54 | private-tmp | ||
55 | |||
56 | # memory-deny-write-execute | ||
57 | noexec ${HOME} | ||
58 | noexec /tmp | ||