Make library mount readonly in jellyfin
This commit is contained in:
@ -70,6 +70,7 @@ with lib.my;
|
||||
enable = true;
|
||||
extraPackages = [ pkgs.zfs ];
|
||||
};
|
||||
|
||||
virtualisation.containers.storage.settings = {
|
||||
storage = {
|
||||
driver = "zfs";
|
||||
@ -77,6 +78,7 @@ with lib.my;
|
||||
runroot = "/run/containers/storage";
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers = {
|
||||
jellyfin = {
|
||||
image = "docker.io/jellyfin/jellyfin:10.8.10";
|
||||
@ -91,7 +93,7 @@ with lib.my;
|
||||
"--privileged"
|
||||
"--label=io.containers.autoupdate=registry"
|
||||
"--group-add=989"
|
||||
"--mount=type=bind,source=/mnt/library,target=/library,ro=true"
|
||||
"--mount=type=bind,source=/mnt/library,target=/library,ro"
|
||||
"--device=/dev/dri:/dev/dri"
|
||||
];
|
||||
};
|
||||
|
Reference in New Issue
Block a user