Seafile fuckup I did this on the wrong server
This commit is contained in:
parent
cca62aad4f
commit
33236aedc6
|
@ -1,8 +1,9 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./nextcloud
|
#./nextcloud
|
||||||
./nfs
|
./nfs
|
||||||
./samba
|
./samba
|
||||||
|
./seafile
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
https = true;
|
https = true;
|
||||||
config = {
|
config = {
|
||||||
adminuser = "jimbo";
|
adminuser = "jimbo";
|
||||||
adminpassFile = "/mnt/nextcloud/password.txt";
|
adminpassFile = "${pkgs.writeText "nextpass" config.secrets.jimboAccPass}";
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
trusted_proxies = [ "127.0.0.1" ];
|
trusted_proxies = [ "127.0.0.1" ];
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
services.seafile = {
|
||||||
|
enable = true;
|
||||||
|
gc.enable = true;
|
||||||
|
group = "nfsShare";
|
||||||
|
adminEmail = "contact@${config.domains.p2}";
|
||||||
|
initialAdminPassword = config.secrets.jimboAccPass;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ lib, config, ... }:
|
||||||
|
{
|
||||||
|
services.nginx.virtualHosts."cloud.${config.domains.p2}" = lib.mkIf config.services.icecast.enable {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:8082";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue