Upload nspawn configs

This commit is contained in:
Eduard Tolosa 2021-01-18 13:36:58 -05:00
parent eebf758172
commit 41d10ee8f6
6 changed files with 85 additions and 0 deletions

View file

@ -0,0 +1,16 @@
[Exec]
Boot=true
Capability=CAP_NET_ADMIN
[Files]
Bind=/dev/dri
Bind=/dev/shm
Bind=/dev/snd
Bind=/dev/nvidia0
Bind=/dev/nvidiactl
Bind=/dev/nvidia-modeset
Bind=/dev/nvidia-uvm
Bind=/dev/nvidia-uvm-tools
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
BindReadOnly=/tmp/.X11-unix