forked from M-Labs/it-infra
nixbld: install nextcloud
This commit is contained in:
parent
3ef19cbe93
commit
328a85c504
@ -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";
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user