nxcaldav (manual for now)
This commit is contained in:
1
system-modules/nx2site/nxcaldav.nix
Normal file
1
system-modules/nx2site/nxcaldav.nix
Normal file
@@ -0,0 +1 @@
|
||||
{ pkgs, ... }@all: with all; { }
|
||||
@@ -1,9 +1,8 @@
|
||||
{ pkgs, ... }@all: with all;
|
||||
{
|
||||
{ pkgs, ... }@all: with all; {
|
||||
services = {
|
||||
open-web-calendar = {
|
||||
enable = true;
|
||||
domain = "cal.${hyper.domain}";
|
||||
domain = "owc.${hyper.domain}";
|
||||
package = pkgs.open-web-calendar;
|
||||
settings = {
|
||||
# PORT = 21342;
|
||||
@@ -11,4 +10,5 @@
|
||||
calendarSettings = { };
|
||||
};
|
||||
};
|
||||
# proxy endpoint is done is done automatically
|
||||
}
|
||||
|
||||
@@ -156,6 +156,10 @@
|
||||
listen = dl;
|
||||
locations = { "/" = { proxyPass = "http://127.0.0.1:5232"; }; };
|
||||
});
|
||||
"nxc.${hyper.domain}" = lib.mkIf config.services.radicale.enable (vh // {
|
||||
listen = dl;
|
||||
locations = { "/" = { proxyPass = "http://127.0.0.1:14243"; }; };
|
||||
});
|
||||
# "nc.${hyper.domain}" = vh // {
|
||||
# # directly to nc
|
||||
# };
|
||||
@@ -185,17 +189,13 @@
|
||||
};
|
||||
};
|
||||
# is done atomatically
|
||||
# "cal.${hyper.domain}" = vh // {
|
||||
# "owc.${hyper.domain}" = vh // {
|
||||
# listen = dl;
|
||||
# locations = { "/" = {
|
||||
# proxyPass = "http://unix:///run/open-web-calendar/socket";
|
||||
# proxyWebsockets = true;
|
||||
# }; };
|
||||
# };
|
||||
# "baikal.${hyper.domain}" = {
|
||||
# forceSSL = true;
|
||||
# enableACME = true;
|
||||
# };
|
||||
"file.${hyper.domain}" = { # copyparty
|
||||
listen = dl;
|
||||
forceSSL = true;
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
"vaultwarden"
|
||||
"paperless"
|
||||
"nextcloud"
|
||||
"nxcaldav"
|
||||
];
|
||||
settings = {
|
||||
port = 5432; # default
|
||||
@@ -54,6 +55,10 @@
|
||||
name = "paperless";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
{
|
||||
name = "nxcaldav";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
postgresqlBackup = {
|
||||
|
||||
Reference in New Issue
Block a user