updated nextcloud to 32
This commit is contained in:
parent
19221d1ff2
commit
e53fa6a6e5
3 changed files with 55 additions and 1 deletions
29
services/irc.nix
Normal file
29
services/irc.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
users = {
|
||||
groups.irc = {};
|
||||
users.irc = {
|
||||
name = "irc";
|
||||
group = "irc";
|
||||
isSystemUser = false;
|
||||
isNormalUser = true;
|
||||
home = "/var/irc";
|
||||
createHome = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."irc.hermitcollective.net" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:6667";
|
||||
proxyWebsockets = true; # needed if you need to use WebSocket
|
||||
extraConfig =
|
||||
# required when the target is also TLS server with multiple hosts
|
||||
"proxy_ssl_server_name on;" +
|
||||
# required when the server wants to use HTTP Authentication
|
||||
"proxy_pass_header Authorization;"
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud30;
|
||||
package = pkgs.nextcloud32;
|
||||
appstoreEnable = true;
|
||||
hostName = "cloud.hermitcollective.net";
|
||||
config = {
|
||||
|
|
|
|||
25
services/terraria.nix
Normal file
25
services/terraria.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
services.terraria = {
|
||||
enable = true;
|
||||
port = 7777;
|
||||
openFirewall = true;
|
||||
worldPath = "/var/terraria/";
|
||||
autoCreatedWorldSize = "large";
|
||||
};
|
||||
# Homepage
|
||||
services.nginx.virtualHosts."terraria.hermitcollective.net" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:7777";
|
||||
proxyWebsockets = true; # needed if you need to use WebSocket
|
||||
extraConfig =
|
||||
# required when the target is also TLS server with multiple hosts
|
||||
"proxy_ssl_server_name on;" +
|
||||
# required when the server wants to use HTTP Authentication
|
||||
"proxy_pass_header Authorization;"
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue