diff options
Diffstat (limited to 'etc/github-desktop.profile')
-rw-r--r-- | etc/github-desktop.profile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/etc/github-desktop.profile b/etc/github-desktop.profile new file mode 100644 index 000000000..d7c894ac5 --- /dev/null +++ b/etc/github-desktop.profile | |||
@@ -0,0 +1,54 @@ | |||
1 | # Firejail profile for github-desktop | ||
2 | # Description: Extend your GitHub workflow beyond your browser with GitHub Desktop | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include github-desktop.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | # Note: add noblacklist/whitelist entrees below for any | ||
10 | # location where you keep local repository clones. | ||
11 | |||
12 | noblacklist ${HOME}/.gitconfig | ||
13 | whitelist ${HOME}/.gitconfig | ||
14 | noblacklist ${HOME}/.config/GitHub Desktop | ||
15 | whitelist ${HOME}/.config/GitHub Desktop | ||
16 | |||
17 | include disable-common.inc | ||
18 | include disable-passwdmgr.inc | ||
19 | include disable-programs.inc | ||
20 | include disable-devel.inc | ||
21 | include disable-interpreters.inc | ||
22 | |||
23 | include whitelist-common.inc | ||
24 | |||
25 | caps.drop all | ||
26 | netfilter | ||
27 | # no3d | ||
28 | nodvd | ||
29 | nogroups | ||
30 | nonewprivs | ||
31 | noroot | ||
32 | nosound | ||
33 | notv | ||
34 | nou2f | ||
35 | novideo | ||
36 | protocol unix,inet,inet6,netlink | ||
37 | seccomp | ||
38 | |||
39 | # Note: On debian-based distributions the binary might be located in | ||
40 | # /opt/GitHub Desktop/github-desktop, and therefore not be in PATH. | ||
41 | # If that's the case you can start GitHub Desktop with firejail via | ||
42 | # `firejail "/opt/GitHub Desktop/github-desktop"`. | ||
43 | |||
44 | disable-mnt | ||
45 | # private-bin github-desktop | ||
46 | private-cache | ||
47 | private-dev | ||
48 | # private-etc none | ||
49 | # private-lib | ||
50 | private-tmp | ||
51 | |||
52 | # memory-deny-write-execute | ||
53 | noexec ${HOME} | ||
54 | noexec /tmp | ||