added forgejo config using sqlite.
This commit is contained in:
parent
6dcbb146b7
commit
f91cb5469d
8 changed files with 77 additions and 32 deletions
|
@ -5,18 +5,23 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
services.radicale={
|
||||
enable=true;
|
||||
settings={
|
||||
server={
|
||||
hosts=[ "0.0.0.0:5232" "[::]:5232" ];
|
||||
};
|
||||
auth={
|
||||
type="htpasswd";
|
||||
htpasswd_encryption="md5";
|
||||
htpasswd_filename="${inputs.nix-secrets}/radicale-users";
|
||||
services.radicale = {
|
||||
enable = true;
|
||||
settings = {
|
||||
auth = {
|
||||
type = "htpasswd";
|
||||
htpasswd_encryption = "md5";
|
||||
htpasswd_filename = "${inputs.nix-secrets}/radicale-users";
|
||||
};
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [5232];
|
||||
|
||||
services.nginx.virtualHosts."cal.venberg.xyz" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:5232";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue