diff --git a/nixos/modules/nixos/containers/jellyfin/default.nix b/nixos/modules/nixos/containers/jellyfin/default.nix index 6c21f83..449c164 100644 --- a/nixos/modules/nixos/containers/jellyfin/default.nix +++ b/nixos/modules/nixos/containers/jellyfin/default.nix @@ -50,7 +50,7 @@ in ports = [ "${toString port}:${toString port}" ]; # expose port extraOptions = [ - # "--runtime=nvidia" + "--device nvidia.com/gpu=all" ]; }; diff --git a/nixos/modules/nixos/containers/plex/default.nix b/nixos/modules/nixos/containers/plex/default.nix index f15b9c3..d79b62c 100644 --- a/nixos/modules/nixos/containers/plex/default.nix +++ b/nixos/modules/nixos/containers/plex/default.nix @@ -40,7 +40,7 @@ in ]; extraOptions = [ - "--runtime=nvidia" + "--device nvidia.com/gpu=all" ]; environment = { diff --git a/nixos/modules/nixos/containers/scrypted/default.nix b/nixos/modules/nixos/containers/scrypted/default.nix index 11fd385..793f101 100644 --- a/nixos/modules/nixos/containers/scrypted/default.nix +++ b/nixos/modules/nixos/containers/scrypted/default.nix @@ -43,7 +43,7 @@ in # all usb devices, such as coral tpu "--device=/dev/bus/usb" "--network=host" - "--runtime=nvidia" + "--device nvidia.com/gpu=all" ]; environment = {