diff options
author | 2022-01-24 13:07:56 -0500 | |
---|---|---|
committer | 2022-01-24 13:07:56 -0500 | |
commit | 12ba3f2aaffa14b09272063de07bc2e8f55df81d (patch) | |
tree | 1f8e6d404bfafdaedd656f5b386d6ca729337fa8 /etc/profile-m-z | |
parent | merges (diff) | |
parent | fix: neovim profile (diff) | |
download | firejail-12ba3f2aaffa14b09272063de07bc2e8f55df81d.tar.gz firejail-12ba3f2aaffa14b09272063de07bc2e8f55df81d.tar.zst firejail-12ba3f2aaffa14b09272063de07bc2e8f55df81d.zip |
Merge pull request #4841 from Tus1688/master
Add neovim profile
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/nvim.profile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/etc/profile-m-z/nvim.profile b/etc/profile-m-z/nvim.profile new file mode 100644 index 000000000..27a0aec28 --- /dev/null +++ b/etc/profile-m-z/nvim.profile | |||
@@ -0,0 +1,52 @@ | |||
1 | # Firejail profile for neovim | ||
2 | # Description: Nvim is open source and freely distributable | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include nvim.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.vim | ||
10 | noblacklist ${HOME}/.vimrc | ||
11 | noblacklist ${HOME}/.cache/nvim | ||
12 | noblacklist ${HOME}/.config/nvim | ||
13 | noblacklist ${HOME}/.local/share/nvim | ||
14 | |||
15 | include disable-common.inc | ||
16 | include disable-devel.inc | ||
17 | include disable-programs.inc | ||
18 | include disable-xdg.inc | ||
19 | |||
20 | blacklist ${RUNUSER} | ||
21 | |||
22 | include whitelist-runuser-common.inc | ||
23 | |||
24 | ipc-namespace | ||
25 | machine-id | ||
26 | net none | ||
27 | no3d | ||
28 | nodvd | ||
29 | nogroups | ||
30 | noinput | ||
31 | nonewprivs | ||
32 | noroot | ||
33 | notv | ||
34 | nou2f | ||
35 | novideo | ||
36 | protocol unix,inet,inet6 | ||
37 | seccomp | ||
38 | seccomp.block-secondary | ||
39 | shell none | ||
40 | tracelog | ||
41 | x11 none | ||
42 | |||
43 | private-dev | ||
44 | |||
45 | dbus-user none | ||
46 | dbus-system none | ||
47 | |||
48 | read-only ${HOME}/.config | ||
49 | read-write ${HOME}/.config/nvim | ||
50 | read-write ${HOME}/.local/share/nvim | ||
51 | read-write ${HOME}/.vim | ||
52 | read-write ${HOME}/.vimrc | ||