]> git.rmz.io Git - dotfiles.git/blob - mkosi/kodi/mkosi.nspawn
mkosi/kodi: limit ram usage
[dotfiles.git] / mkosi / kodi / mkosi.nspawn
1 [Exec]
2 PrivateUsers=no
3 Capability=all
4 SystemCallFilter=@default @raw-io @system-service @known
5
6 [Files]
7 # binds host kodi home folder into nspawn
8 Bind=/var/lib/kodi
9
10 # media
11 Bind=/mnt/fook/Movies
12 Bind=/mnt/fook/Series
13 Bind=/mnt/fook/games
14 Bind=/mnt/fook/usenet
15 Bind=/mnt/fook/torrents
16
17 # device access
18 Bind=/dev/tty0
19 Bind=/dev/tty1
20 BindReadOnly=/dev/bus/usb
21 BindReadOnly=/dev/dri
22 BindReadOnly=/dev/input
23 BindReadOnly=/dev/lirc0
24 BindReadOnly=/dev/vga_arbiter
25 BindReadOnly=/lib/modules
26 # pulse need to be started in system mode with the following module and option:
27 # load-module module-native-protocol auth-authorize-anonymous
28 BindReadOnly=/run/pulse