l domsen: set nextcloud pw via krebs.secret
This commit is contained in:
parent
48421ac4b0
commit
a602201eb2
@ -89,12 +89,18 @@ in {
|
|||||||
file_uploads = on
|
file_uploads = on
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
krebs.secret.files.nextcloud_pw = {
|
||||||
|
path = "/run/nextcloud.pw";
|
||||||
|
owner.name = "nextcloud";
|
||||||
|
group-name = "nextcloud";
|
||||||
|
source-path = toString <secrets> + "/nextcloud_pw";
|
||||||
|
};
|
||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "o.xanf.org";
|
hostName = "o.xanf.org";
|
||||||
package = pkgs.nextcloud20;
|
package = pkgs.nextcloud20;
|
||||||
config = {
|
config = {
|
||||||
adminpassFile = toString <secrets> + "/nextcloud_pw";
|
adminpassFile = "/run/nextcloud.pw";
|
||||||
overwriteProtocol = "https";
|
overwriteProtocol = "https";
|
||||||
};
|
};
|
||||||
https = true;
|
https = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user