Services/Immich+Jellyfin: Make containers privileged
This commit is contained in:
@ -91,6 +91,8 @@ with mylib.networking; {
|
|||||||
|
|
||||||
polkit.enable = true;
|
polkit.enable = true;
|
||||||
|
|
||||||
|
# TODO: This does not work on ServeNix?
|
||||||
|
# Check on ThinkNix...
|
||||||
sops-nix.bootSecrets.${username} = [
|
sops-nix.bootSecrets.${username} = [
|
||||||
"user-password"
|
"user-password"
|
||||||
];
|
];
|
||||||
|
@ -103,7 +103,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
# "--privileged"
|
"--privileged"
|
||||||
"--device=nvidia.com/gpu=all"
|
"--device=nvidia.com/gpu=all"
|
||||||
"--net=behind-nginx"
|
"--net=behind-nginx"
|
||||||
];
|
];
|
||||||
|
@ -43,7 +43,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
# "--privileged"
|
"--privileged"
|
||||||
"--device=nvidia.com/gpu=all"
|
"--device=nvidia.com/gpu=all"
|
||||||
"--net=behind-nginx"
|
"--net=behind-nginx"
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user