From 860e315814ce1bc79da8e956cdc2bc9ba564b0e8 Mon Sep 17 00:00:00 2001 From: Christian Pinedo Date: Sun, 12 Apr 2020 12:11:32 +0200 Subject: Create nicotine profile --- etc/nicotine.profile | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 etc/nicotine.profile (limited to 'etc') diff --git a/etc/nicotine.profile b/etc/nicotine.profile new file mode 100644 index 000000000..7764edffb --- /dev/null +++ b/etc/nicotine.profile @@ -0,0 +1,55 @@ +# Firejail profile for Nicotine Plus +# Description: Soulseek music-sharing client +# This file is overwritten after every install/update +# Persistent local customizations +include nicotine.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.nicotine + +include allow-python2.inc + +include disable-common.inc +include disable-devel.inc +include disable-exec.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc +include disable-xdg.inc + +mkdir ${HOME}/.nicotine +whitelist ${DOWNLOADS} +whitelist ${HOME}/.nicotine +whitelist /usr/share/GeoIP +include whitelist-common.inc +include whitelist-runuser-common.inc +include whitelist-usr-share-common.inc +include whitelist-var-common.inc + +apparmor +caps.drop all +#ipc-namespace +netfilter +no3d +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix,inet,inet6 +seccomp +shell none +tracelog + +disable-mnt +private-bin nicotine,python2* +private-cache +private-dev +private-tmp + +dbus-user none +dbus-system none -- cgit v1.2.3-54-g00ecf From 9c16a41c28ec7293ee4226da00771eb0cee7a568 Mon Sep 17 00:00:00 2001 From: Christian Pinedo Date: Sun, 12 Apr 2020 12:12:37 +0200 Subject: Add nicotine to disable-programs.inc --- etc/disable-programs.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index a0670df80..59eac1ee8 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc @@ -653,6 +653,7 @@ blacklist ${HOME}/.netactview blacklist ${HOME}/.neverball blacklist ${HOME}/.newsbeuter blacklist ${HOME}/.newsboat +blacklist ${HOME}/.nicotine blacklist ${HOME}/.nv blacklist ${HOME}/.nylas-mail blacklist ${HOME}/.openarena -- cgit v1.2.3-54-g00ecf