summaryrefslogtreecommitdiff
path: root/profiles/generic-wine-game.inc
blob: 81ffe04f1a209ce11d896aa9316a5d51207bca75 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
# This file is overwritten after every install/update
# Persistent local customizations
include generic-wine-game.local

noblacklist ${HOME}/.wine
noblacklist ${HOME}/.config/q4wine
noblacklist ${HOME}/.local/share/wineprefixes

# with >=llvm-4 mesa drivers need llvm stuff
noblacklist /usr/lib/llvm*

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc
include disable-xdg.inc

mkdir ${HOME}/.wine
mkdir ${HOME}/.config/q4wine
mkdir ${HOME}/.local/share/wineprefixes
whitelist ${HOME}/.wine
whitelist ${HOME}/.config/q4wine
# whitelist ${HOME}/.local/share/wineprefixes/bottle-name-here
whitelist ${HOME}/.local/share/wineprefixes/zz_c

caps.drop all
# # alsa audio will work with ipc-namespace,
# # but it hogs the alsa device from other applications
# ipc-namespace
machine-id
net none
# # no3d breaks gpu rendering
# no3d
noautopulse
nodbus
nodvd
nogroups
nonewprivs
noroot
notv
nou2f
novideo
protocol unix
seccomp
shell none
tracelog

disable-mnt
private-dev
# wine games require passwd
private-etc asound.conf,group,localtime,machine-id,passwd,pulse
private-tmp

memory-deny-write-execute