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
|
||||
'';
|
||||
|
||||
krebs.secret.files.nextcloud_pw = {
|
||||
path = "/run/nextcloud.pw";
|
||||
owner.name = "nextcloud";
|
||||
group-name = "nextcloud";
|
||||
source-path = toString <secrets> + "/nextcloud_pw";
|
||||
};
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
hostName = "o.xanf.org";
|
||||
package = pkgs.nextcloud20;
|
||||
config = {
|
||||
adminpassFile = toString <secrets> + "/nextcloud_pw";
|
||||
adminpassFile = "/run/nextcloud.pw";
|
||||
overwriteProtocol = "https";
|
||||
};
|
||||
https = true;
|
||||
|
Loading…
Reference in New Issue
Block a user