Skip to content

Instantly share code, notes, and snippets.

@n1trux
Created January 5, 2018 22:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n1trux/d58ed6a7551b851176865ac3645c1868 to your computer and use it in GitHub Desktop.
Save n1trux/d58ed6a7551b851176865ac3645c1868 to your computer and use it in GitHub Desktop.
firejail profile for the Discord Electron "desktop" client
# Firejail profile for Discord
# put this in ~/.config/firejail/
include /etc/firejail/Discord.local
# Persistent global definitions
include /etc/firejail/globals.local
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-passwdmgr.inc
include /etc/firejail/disable-programs.inc
whitelist ${HOME}/.config/discord
whitelist /usr/share/discord
caps.drop all
netfilter
nodvd
nogroups
nonewprivs
noroot
notv
novideo
protocol unix,inet,inet6,netlink
seccomp
disable-mnt
private-dev
private-tmp
noexec /tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment