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