]> git.rmz.io Git - dotfiles.git/blobdiff - mkosi/kodi/mkosi.nspawn
mkosi: add jellyfin container
[dotfiles.git] / mkosi / kodi / mkosi.nspawn
index 09493bc3ef1da90c1c9490f513f1ba88f14db2f5..2200128314fcf748449b5ad504a938487237e4cf 100644 (file)
@@ -7,15 +7,22 @@ SystemCallFilter=@default @raw-io @system-service @known
 # 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/bus/usb
-Bind=/dev/dri
-Bind=/dev/input
-Bind=/dev/lirc0
 Bind=/dev/tty0
 Bind=/dev/tty1
-Bind=/dev/vga_arbiter
-Bind=/lib/modules
+BindReadOnly=/dev/bus/usb
+BindReadOnly=/dev/dri
+BindReadOnly=/dev/input
+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