diff options
Diffstat (limited to 'etc/nano.profile')
-rw-r--r-- | etc/nano.profile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/etc/nano.profile b/etc/nano.profile new file mode 100644 index 000000000..d4855a315 --- /dev/null +++ b/etc/nano.profile | |||
@@ -0,0 +1,47 @@ | |||
1 | # Firejail profile for nano | ||
2 | # Description: nano is a easy text editor for the terminal | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include nano.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/nano | ||
10 | noblacklist ${HOME}/.nanorc | ||
11 | |||
12 | include disable-common.inc | ||
13 | include disable-devel.inc | ||
14 | include disable-interpreters.inc | ||
15 | include disable-passwdmgr.inc | ||
16 | include disable-programs.inc | ||
17 | |||
18 | apparmor | ||
19 | caps.drop all | ||
20 | ipc-namespace | ||
21 | machine-id | ||
22 | net none | ||
23 | no3d | ||
24 | nodbus | ||
25 | nodvd | ||
26 | nogroups | ||
27 | nonewprivs | ||
28 | noroot | ||
29 | nosound | ||
30 | notv | ||
31 | nou2f | ||
32 | novideo | ||
33 | protocol unix | ||
34 | seccomp | ||
35 | shell none | ||
36 | tracelog | ||
37 | |||
38 | # disable-mnt | ||
39 | private-bin nano,rnano | ||
40 | private-cache | ||
41 | private-dev | ||
42 | # Comment the next line if you want to edit files in /etc directly | ||
43 | private-etc alternatives,nanorc | ||
44 | |||
45 | memory-deny-write-execute | ||
46 | noexec ${HOME} | ||
47 | noexec /tmp | ||