immich: fix updated module
This commit is contained in:
parent
b0276b9d4f
commit
3fb21ca846
@ -41,6 +41,7 @@ in
|
|||||||
imports = [ "${nixpkgs-unstable}/nixos/modules/services/web-apps/immich.nix" ];
|
imports = [ "${nixpkgs-unstable}/nixos/modules/services/web-apps/immich.nix" ];
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
services.immich = {
|
services.immich = {
|
||||||
package = immich-package;
|
package = immich-package;
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -64,6 +65,8 @@ in
|
|||||||
CapabilityBoundingSet = lib.mkForce "~";
|
CapabilityBoundingSet = lib.mkForce "~";
|
||||||
ExecStart = lib.mkForce ("!" + (lib.getExe startScript));
|
ExecStart = lib.mkForce ("!" + (lib.getExe startScript));
|
||||||
PrivateUsers = lib.mkForce false; # bindfs fails otherwise
|
PrivateUsers = lib.mkForce false; # bindfs fails otherwise
|
||||||
|
|
||||||
|
SupplementaryGroups = lib.mkForce [ "immich" ]; # TODO remove on 24.11
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user