1
0
Fork 0

nixbld: install nextcloud

This commit is contained in:
Sebastien Bourdeauducq 2022-06-30 17:33:09 +08:00
parent 3ef19cbe93
commit 328a85c504
2 changed files with 14 additions and 1 deletions

View File

@ -773,6 +773,10 @@ in
'';
};
};
"files.m-labs.hk" = {
forceSSL = true;
enableACME = true;
};
"nmigen.org" = {
addSSL = true;
useACMEHost = "nixbld.m-labs.hk";
@ -860,5 +864,13 @@ in
certificateScheme = 3;
};
services.nextcloud = {
enable = true;
package = pkgs.nextcloud24;
hostName = "files.m-labs.hk";
https = true;
config.adminpassFile = "/etc/nixos/secret/nextcloud_pass.txt";
};
system.stateVersion = "21.05";
}

View File

@ -1,7 +1,7 @@
$TTL 7200
@ SOA 42-200-147-171.static.imsbiz.com. sb.m-labs.hk. (
2022062801
2022063004
7200
3600
86400
@ -30,6 +30,7 @@ hooks CNAME @
forum CNAME @
perso CNAME @
rt CNAME @
files CNAME @
rpi-1 AAAA 2001:470:f821:1:dea6:32ff:fe8a:6a93
rpi-2 AAAA 2001:470:f821:1:ba27:ebff:fef0:e9e6