blob: 3a5913a62e478c424e684d7d521cfe309789ad93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# git profile
quiet
noblacklist ~/.gitconfig
noblacklist ~/.ssh
noblacklist ~/.gnupg
noblacklist ~/.emacs
noblacklist ~/.emacs.d
noblacklist ~/.viminfo
noblacklist ~/.vim
# allow git to work with some other configs
noblacklist ${HOME}/.config/autostart
noblacklist ${HOME}/.mutt
noblacklist ${HOME}/.muttrc
noblacklist /etc/ssh
# custom
noblacklist ~/.custom/gitconfig
noblacklist ${PATH}/nc
noblacklist /tmp/ssh-*
noblacklist ~/.subversion
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-programs.inc
include /etc/firejail/disable-passwdmgr.inc
# allow write operations in non-default folders
include whitelist-common.local
# allow git to work with dotfiles
read-write ${HOME}/.dotfiles
caps.drop all
netfilter
nonewprivs
noroot
nogroups
nosound
protocol unix,inet,inet6
seccomp
shell none
private-dev
|