Add nextcloud service
This commit is contained in:
parent
4689a153b9
commit
98cf95a922
3 changed files with 230 additions and 2 deletions
configuration
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./services/gitea.nix ];
|
||||
imports = [ ./services/gitea.nix ./services/nextcloud.nix ];
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
|
@ -52,7 +52,10 @@
|
|||
enableACME = true;
|
||||
locations."/" = { proxyPass = "http://localhost:${toString port}"; };
|
||||
} // extra;
|
||||
in { "gitea.tlater.net" = host 3000 { }; };
|
||||
in {
|
||||
"gitea.tlater.net" = host 3000 { };
|
||||
"nextcloud.tlater.net" = host 3001 { };
|
||||
};
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue