mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
46 lines
953 B
Text
46 lines
953 B
Text
# Firejail profile for Visual Studio Code
|
|
# This file is overwritten after every install/update
|
|
# Persistent local customizations
|
|
include code.local
|
|
# Persistent global definitions
|
|
include globals.local
|
|
|
|
noblacklist ${HOME}/.cargo/config
|
|
noblacklist ${HOME}/.cargo/registry
|
|
noblacklist ${HOME}/.config/Code
|
|
noblacklist ${HOME}/.config/Code - OSS
|
|
noblacklist ${HOME}/.config/git
|
|
noblacklist ${HOME}/.gitconfig
|
|
noblacklist ${HOME}/.git-credentials
|
|
noblacklist ${HOME}/.pythonrc.py
|
|
noblacklist ${HOME}/.vscode
|
|
noblacklist ${HOME}/.vscode-oss
|
|
|
|
include disable-common.inc
|
|
include disable-passwdmgr.inc
|
|
include disable-programs.inc
|
|
|
|
caps.drop all
|
|
net none
|
|
netfilter
|
|
nodvd
|
|
nogroups
|
|
nonewprivs
|
|
noroot
|
|
nosound
|
|
notv
|
|
nou2f
|
|
novideo
|
|
protocol unix,inet,inet6,netlink
|
|
seccomp
|
|
shell none
|
|
|
|
private-cache
|
|
private-dev
|
|
private-tmp
|
|
|
|
# Disabling noexec ${HOME} for now since it will
|
|
# probably interfere with running some programmes
|
|
# in VS Code
|
|
# noexec ${HOME}
|
|
noexec /tmp
|