install nextcloud
This commit is contained in:
parent
2846e1579a
commit
71bc235159
1 changed files with 19 additions and 0 deletions
19
void.nix
19
void.nix
|
|
@ -281,6 +281,21 @@
|
|||
'';
|
||||
users.users.immich.extraGroups = ["video" "render"];
|
||||
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud31;
|
||||
hostName = "nextcloud.005540.xyz";
|
||||
https = true;
|
||||
secretFile = "/etc/nixos/secrets/nextcloud/secrets.json";
|
||||
config.adminpassFile = "/etc/nixos/secrets/nextcloud/adminpass";
|
||||
config.dbtype = "pgsql";
|
||||
settings.default_locale = "fr";
|
||||
settings.default_phone_region = "+33";
|
||||
database.createLocally = true;
|
||||
configureRedis = true;
|
||||
maxUploadSize = "64G";
|
||||
};
|
||||
|
||||
# dynamic dns
|
||||
services.ddclient = {
|
||||
enable = true;
|
||||
|
|
@ -389,6 +404,10 @@
|
|||
enableACME = true;
|
||||
addSSL = true;
|
||||
};
|
||||
"nextcloud.005540.xyz" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue