mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2025-01-08 00:51:23 +00:00
feat: NextCloud: add the enableImagemagick option
This commit is contained in:
parent
36979ff20c
commit
d830288068
|
@ -12,6 +12,10 @@
|
||||||
default = "cloud";
|
default = "cloud";
|
||||||
type = lib.types.strMatching "[A-Za-z0-9][A-Za-z0-9\-]{0,61}[A-Za-z0-9]";
|
type = lib.types.strMatching "[A-Za-z0-9][A-Za-z0-9\-]{0,61}[A-Za-z0-9]";
|
||||||
};
|
};
|
||||||
|
enableImagemagick = lib.mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config =
|
config =
|
||||||
|
@ -90,6 +94,8 @@
|
||||||
adminpassFile = admin-pass-filepath;
|
adminpassFile = admin-pass-filepath;
|
||||||
adminuser = "admin";
|
adminuser = "admin";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enableImagemagick = cfg.enableImagemagick;
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts.${hostName} = {
|
services.nginx.virtualHosts.${hostName} = {
|
||||||
useACMEHost = sp.domain;
|
useACMEHost = sp.domain;
|
||||||
|
|
Loading…
Reference in a new issue