diff options
author | 2022-01-10 15:19:32 +0700 | |
---|---|---|
committer | 2022-01-10 15:19:32 +0700 | |
commit | 511bf48ab13d871307a1b1849a933af99d1f0fb4 (patch) | |
tree | 845e15f34fdece7665c5348b6b6946ecfb21300b /etc | |
parent | feat: neovim profile (diff) | |
download | firejail-511bf48ab13d871307a1b1849a933af99d1f0fb4.tar.gz firejail-511bf48ab13d871307a1b1849a933af99d1f0fb4.tar.zst firejail-511bf48ab13d871307a1b1849a933af99d1f0fb4.zip |
fix: neovim profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/profile-m-z/nvim.profile | 75 |
1 files changed, 41 insertions, 34 deletions
diff --git a/etc/profile-m-z/nvim.profile b/etc/profile-m-z/nvim.profile index b121b4417..ef08c4397 100644 --- a/etc/profile-m-z/nvim.profile +++ b/etc/profile-m-z/nvim.profile | |||
@@ -1,39 +1,46 @@ | |||
1 | # Firejail profile for neovim | 1 | # Firejail profile for neovim |
2 | # Description: Nvim is open source and freely distributable | 2 | # Description: Nvim is open source and freely distributable |
3 | # This file is overwritten after every install/update | 3 | # Persistent local customizations |
4 | # Persistent local customizations | 4 | include nvim.local |
5 | include nvim.local | 5 | # Persistent global definitions |
6 | # Persistent global definitions | 6 | include globals.local |
7 | include globals.local | ||
8 | 7 | ||
9 | noblacklist ${HOME}/.vim | 8 | noblacklist ${HOME}/.vim |
10 | 9 | noblacklist ${HOME}/.cache/nvim | |
11 | include disable-common.inc | 10 | noblacklist ${HOME}/.local/share/nvim |
12 | include disable-programs.inc | 11 | |
13 | include disable-devel.inc | 12 | include disable-common.inc |
14 | include disable-passwdmgr.inc | 13 | include disable-devel.inc |
15 | include disable-xdg.inc | 14 | include disable-programs.inc |
16 | include disable-write-mnt.inc | 15 | include disable-xdg.inc |
17 | include whitelist-runuser-common.inc | 16 | |
17 | blacklist ${RUNUSER}/wayland-* | ||
18 | blacklist ${RUNUSER} | ||
19 | |||
20 | include whitelist-runuser-common.inc | ||
21 | |||
22 | ipc-namespace | ||
23 | machine-id | ||
24 | net none | ||
25 | netfilter | ||
26 | no3d | ||
27 | dbus-user none | ||
28 | dbus-system none | ||
29 | nodvd | ||
30 | nogroups | ||
31 | noinput | ||
32 | nonewprivs | ||
33 | noroot | ||
34 | notv | ||
35 | nou2f | ||
36 | novideo | ||
37 | protocol unix,inet,inet6 | ||
38 | seccomp.block-secondary | ||
39 | shell none | ||
40 | tracelog | ||
41 | x11 none | ||
42 | |||
43 | private-dev | ||
18 | 44 | ||
19 | # Allows files commonly used by IDEs | ||
20 | include allow-common-devel.inc | ||
21 | |||
22 | caps.drop all | ||
23 | netfilter | ||
24 | nodbus | ||
25 | nodvd | ||
26 | nogroups | ||
27 | noinput | ||
28 | nonewprivs | ||
29 | noroot | ||
30 | notv | ||
31 | nou2f | ||
32 | novideo | ||
33 | protocol unix,inet,inet6 | ||
34 | seccomp | ||
35 | |||
36 | private-dev | ||
37 | |||
38 | read-write ${HOME}/.vim | 45 | read-write ${HOME}/.vim |
39 | read-only ${HOME}/.config | 46 | read-only ${HOME}/.config |