diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/profile-m-z/nhex.profile | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 1f373279c..f638e1d97 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -189,6 +189,7 @@ blacklist ${HOME}/.cache/mutt | |||
189 | blacklist ${HOME}/.cache/mypaint | 189 | blacklist ${HOME}/.cache/mypaint |
190 | blacklist ${HOME}/.cache/netsurf | 190 | blacklist ${HOME}/.cache/netsurf |
191 | blacklist ${HOME}/.cache/nheko | 191 | blacklist ${HOME}/.cache/nheko |
192 | blacklist ${HOME}/.cache/nhex | ||
192 | blacklist ${HOME}/.cache/nvim | 193 | blacklist ${HOME}/.cache/nvim |
193 | blacklist ${HOME}/.cache/ocenaudio | 194 | blacklist ${HOME}/.cache/ocenaudio |
194 | blacklist ${HOME}/.cache/okular | 195 | blacklist ${HOME}/.cache/okular |
@@ -936,6 +937,7 @@ blacklist ${HOME}/.local/share/data/MusE | |||
936 | blacklist ${HOME}/.local/share/data/MuseScore | 937 | blacklist ${HOME}/.local/share/data/MuseScore |
937 | blacklist ${HOME}/.local/share/data/nomacs | 938 | blacklist ${HOME}/.local/share/data/nomacs |
938 | blacklist ${HOME}/.local/share/data/qBittorrent | 939 | blacklist ${HOME}/.local/share/data/qBittorrent |
940 | blacklist ${HOME}/.local/share/dev.nhex | ||
939 | blacklist ${HOME}/.local/share/dino | 941 | blacklist ${HOME}/.local/share/dino |
940 | blacklist ${HOME}/.local/share/dolphin | 942 | blacklist ${HOME}/.local/share/dolphin |
941 | blacklist ${HOME}/.local/share/dolphin-emu | 943 | blacklist ${HOME}/.local/share/dolphin-emu |
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 | ||
5 | include nhex.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.cache/nhex | ||
10 | noblacklist ${HOME}/.local/share/dev.nhex | ||
11 | |||
12 | blacklist /usr/libexec | ||
13 | |||
14 | include disable-common.inc | ||
15 | include disable-devel.inc | ||
16 | include disable-exec.inc | ||
17 | include disable-interpreters.inc | ||
18 | include disable-proc.inc | ||
19 | include disable-programs.inc | ||
20 | include disable-shell.inc | ||
21 | include disable-xdg.inc | ||
22 | |||
23 | mkdir ${HOME}/.cache/nhex | ||
24 | mkdir ${HOME}/.local/share/dev.nhex | ||
25 | whitelist ${DOWNLOADS} | ||
26 | whitelist ${HOME}/.cache/nhex | ||
27 | whitelist ${HOME}/.local/share/dev.nhex | ||
28 | include whitelist-common.inc | ||
29 | include whitelist-run-common.inc | ||
30 | include whitelist-runuser-common.inc | ||
31 | include whitelist-usr-share-common.inc | ||
32 | include whitelist-var-common.inc | ||
33 | |||
34 | caps.drop all | ||
35 | machine-id | ||
36 | netfilter | ||
37 | no3d | ||
38 | nodvd | ||
39 | nogroups | ||
40 | noinput | ||
41 | nonewprivs | ||
42 | noprinters | ||
43 | noroot | ||
44 | nosound | ||
45 | notv | ||
46 | nou2f | ||
47 | novideo | ||
48 | protocol unix,inet,inet6 | ||
49 | seccomp | ||
50 | seccomp.block-secondary | ||
51 | tracelog | ||
52 | |||
53 | disable-mnt | ||
54 | private-bin nhex | ||
55 | private-cache | ||
56 | private-dev | ||
57 | private-tmp | ||
58 | |||
59 | dbus-user none | ||
60 | dbus-system none | ||
61 | |||
62 | restrict-namespaces | ||