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"];
|
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
|
# dynamic dns
|
||||||
services.ddclient = {
|
services.ddclient = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -389,6 +404,10 @@
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
};
|
};
|
||||||
|
"nextcloud.005540.xyz" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue