Skip to content

Commit 5eeaaa0

Browse files
authored
New profile: nhex (#6341)
Description: Tauri-based IRC client inspired by HexChat. https://nhexirc.com/ https://github.com/nhexirc/nhex
1 parent a9b7c2d commit 5eeaaa0

File tree

3 files changed

+65
-0
lines changed

3 files changed

+65
-0
lines changed

etc/inc/disable-programs.inc

+2
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ blacklist ${HOME}/.cache/mutt
189189
blacklist ${HOME}/.cache/mypaint
190190
blacklist ${HOME}/.cache/netsurf
191191
blacklist ${HOME}/.cache/nheko
192+
blacklist ${HOME}/.cache/nhex
192193
blacklist ${HOME}/.cache/nvim
193194
blacklist ${HOME}/.cache/ocenaudio
194195
blacklist ${HOME}/.cache/okular
@@ -936,6 +937,7 @@ blacklist ${HOME}/.local/share/data/MusE
936937
blacklist ${HOME}/.local/share/data/MuseScore
937938
blacklist ${HOME}/.local/share/data/nomacs
938939
blacklist ${HOME}/.local/share/data/qBittorrent
940+
blacklist ${HOME}/.local/share/dev.nhex
939941
blacklist ${HOME}/.local/share/dino
940942
blacklist ${HOME}/.local/share/dolphin
941943
blacklist ${HOME}/.local/share/dolphin-emu

etc/profile-m-z/nhex.profile

+62
Original file line numberDiff line numberDiff line change
@@ -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

src/firecfg/firecfg.config

+1
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,7 @@ newsflash
647647
nextcloud
648648
nextcloud-desktop
649649
nheko
650+
nhex
650651
nicotine
651652
nitroshare
652653
nitroshare-cli

0 commit comments

Comments
 (0)