Skip to content

Commit

Permalink
New profile: nhex
Browse files Browse the repository at this point in the history
Description: Tauri-based IRC client inspired by HexChat.

https://nhexirc.com/
https://github.com/nhexirc/nhex
  • Loading branch information
glitsj16 authored and kmk3 committed May 17, 2024
1 parent bef0850 commit 166b94b
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/inc/disable-programs.inc
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ blacklist ${HOME}/.cache/mutt
blacklist ${HOME}/.cache/mypaint
blacklist ${HOME}/.cache/netsurf
blacklist ${HOME}/.cache/nheko
blacklist ${HOME}/.cache/nhex
blacklist ${HOME}/.cache/nvim
blacklist ${HOME}/.cache/ocenaudio
blacklist ${HOME}/.cache/okular
Expand Down Expand Up @@ -936,6 +937,7 @@ blacklist ${HOME}/.local/share/data/MusE
blacklist ${HOME}/.local/share/data/MuseScore
blacklist ${HOME}/.local/share/data/nomacs
blacklist ${HOME}/.local/share/data/qBittorrent
blacklist ${HOME}/.local/share/dev.nhex
blacklist ${HOME}/.local/share/dino
blacklist ${HOME}/.local/share/dolphin
blacklist ${HOME}/.local/share/dolphin-emu
Expand Down
62 changes: 62 additions & 0 deletions etc/profile-m-z/nhex.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Firejail profile for nhex
# Description: Tauri-based IRC client inspired by HexChat
# This file is overwritten after every install/update
# Persistent local customizations
include nhex.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.cache/nhex
noblacklist ${HOME}/.local/share/dev.nhex

blacklist /usr/libexec

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-proc.inc
include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc

mkdir ${HOME}/.cache/nhex
mkdir ${HOME}/.local/share/dev.nhex
whitelist ${DOWNLOADS}
whitelist ${HOME}/.cache/nhex
whitelist ${HOME}/.local/share/dev.nhex
include whitelist-common.inc
include whitelist-run-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc

caps.drop all
machine-id
netfilter
no3d
nodvd
nogroups
noinput
nonewprivs
noprinters
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6
seccomp
seccomp.block-secondary
tracelog

disable-mnt
private-bin nhex
private-cache
private-dev
private-tmp

dbus-user none
dbus-system none

restrict-namespaces
1 change: 1 addition & 0 deletions src/firecfg/firecfg.config
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,7 @@ newsflash
nextcloud
nextcloud-desktop
nheko
nhex
nicotine
nitroshare
nitroshare-cli
Expand Down

0 comments on commit 166b94b

Please sign in to comment.