Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New profile: nhex #6341

Merged
merged 1 commit into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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