From 5eeaaa0e01bd19e3339478729a0a998ea7d3ea75 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Fri, 17 May 2024 05:52:33 +0000 Subject: New profile: nhex (#6341) Description: Tauri-based IRC client inspired by HexChat. https://nhexirc.com/ https://github.com/nhexirc/nhex --- etc/profile-m-z/nhex.profile | 62 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 etc/profile-m-z/nhex.profile (limited to 'etc/profile-m-z/nhex.profile') 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 @@ +# 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 -- cgit v1.2.3-70-g09d2