]> git.rmz.io Git - dotfiles.git/blobdiff - mkosi/kodi/mkosi.nspawn
tmux: add tmux plugin manager (tpm) as a submodule
[dotfiles.git] / mkosi / kodi / mkosi.nspawn
index 6c87173f5a36b19f25dde32ab292527f765caf2f..c3b14ff0f17b1c0332eb0889bfacb1415fde81dc 100644 (file)
@@ -1,21 +1,30 @@
 [Exec]
 PrivateUsers=no
-Capability=all
-SystemCallFilter=@default @raw-io @system-service @known
+
+[Network]
+Bridge=br0
 
 [Files]
 # binds host kodi home folder into nspawn
 Bind=/var/lib/kodi
 
+# media
+Bind=/mnt/fook/Movies
+Bind=/mnt/fook/Series
+Bind=/mnt/fook/games
+Bind=/mnt/fook/usenet
+Bind=/mnt/fook/torrents
+
 # device access
 Bind=/dev/tty0
 Bind=/dev/tty1
-BindReadOnly=/dev/bus/usb
 BindReadOnly=/dev/dri
 BindReadOnly=/dev/input
+BindReadOnly=/dev/uinput
+# libinput reads this to know about devices
+BindReadOnly=/run/udev
 BindReadOnly=/dev/lirc0
 BindReadOnly=/dev/vga_arbiter
-BindReadOnly=/lib/modules
 # pulse need to be started in system mode with the following module and option:
 # load-module module-native-protocol auth-authorize-anonymous
 BindReadOnly=/run/pulse