From 63cd84ed57fd006b3679ec3466ab5aff12c5c4b4 Mon Sep 17 00:00:00 2001 From: Lockdis <45907176+Lockdis@users.noreply.github.com> Date: Thu, 24 Jan 2019 12:19:50 +0100 Subject: add nyx, fix g earth pro --- etc/disable-common.inc | 1 + etc/nyx.profile | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 etc/nyx.profile (limited to 'etc') diff --git a/etc/disable-common.inc b/etc/disable-common.inc index 6a599893e..89c029a61 100644 --- a/etc/disable-common.inc +++ b/etc/disable-common.inc @@ -302,6 +302,7 @@ blacklist ${HOME}/.msmtprc blacklist ${HOME}/.mutt blacklist ${HOME}/.muttrc blacklist ${HOME}/.netrc +blacklist ${HOME}/.nyx blacklist ${HOME}/.pki blacklist ${HOME}/.smbcredentials blacklist ${HOME}/.ssh diff --git a/etc/nyx.profile b/etc/nyx.profile new file mode 100644 index 000000000..aa3275a00 --- /dev/null +++ b/etc/nyx.profile @@ -0,0 +1,58 @@ +# Firejail profile for nyx +# This file is overwritten after every install/update +# Persistent local customizations +include nyx.local +# Persistent global definitions +include globals.local + +noblacklist ${PATH}/python3* +noblacklist /usr/include/python3* +noblacklist /usr/lib/python3* +noblacklist /usr/local/lib/python3* +noblacklist /usr/share/python3* + +noblacklist ${HOME}/.nyx + +mkdir ${HOME}/.nyx + +whitelist ${HOME}/.nyx + +include disable-common.inc +include disable-devel.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc +include disable-xdg.inc + +# apparmor +caps.drop all +# ipc-namespace +netfilter +no3d +nodbus +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix,inet,inet6 +seccomp +shell none +# tracelog + +disable-mnt +private-bin nyx,python +private-cache +private-dev +private-etc passwd,tor +# private-lib +private-opt none +private-srv none +private-tmp + +# memory-deny-write-execute +noexec ${HOME} +noexec /tmp -- cgit v1.2.3-54-g00ecf