uninstall radicale
This commit is contained in:
parent
1e89f867e6
commit
02554c5e87
4 changed files with 5 additions and 58 deletions
|
|
@ -17,7 +17,6 @@ in
|
||||||
paperless.enable = true;
|
paperless.enable = true;
|
||||||
prowlarr.enable = true;
|
prowlarr.enable = true;
|
||||||
radarr.enable = true;
|
radarr.enable = true;
|
||||||
radicale.enable = true;
|
|
||||||
sonarr.enable = true;
|
sonarr.enable = true;
|
||||||
syncthing.enable = true;
|
syncthing.enable = true;
|
||||||
qbittorrent.enable = true;
|
qbittorrent.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -183,13 +183,6 @@ in
|
||||||
"href" = "https://ntfy-sh.fi33.buzz/";
|
"href" = "https://ntfy-sh.fi33.buzz/";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
|
||||||
"Radicale" = {
|
|
||||||
"description" = "CalDAV/CardDav sync server";
|
|
||||||
"icon" = "radicale.svg";
|
|
||||||
"href" = "https://radicale.fi33.buzz/";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
"Syncthing" = {
|
"Syncthing" = {
|
||||||
"description" = "Decentralised file synchronisation";
|
"description" = "Decentralised file synchronisation";
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@ in
|
||||||
relativenumber = true;
|
relativenumber = true;
|
||||||
shiftwidth = 2;
|
shiftwidth = 2;
|
||||||
tabstop = 2;
|
tabstop = 2;
|
||||||
|
colorcolumn = "80";
|
||||||
};
|
};
|
||||||
plugins = {
|
plugins = {
|
||||||
# autoclose brackets
|
# autoclose brackets
|
||||||
|
|
@ -77,6 +78,10 @@ in
|
||||||
installCargo = true;
|
installCargo = true;
|
||||||
installRustc = true;
|
installRustc = true;
|
||||||
};
|
};
|
||||||
|
hls = {
|
||||||
|
enable = true;
|
||||||
|
installGhc = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
lsp-format.enable = true;
|
lsp-format.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,50 +0,0 @@
|
||||||
{ config, lib, ... }:
|
|
||||||
let
|
|
||||||
feature = "radicale";
|
|
||||||
port = "5003";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
config = lib.mkIf config.${feature}.enable {
|
|
||||||
services = {
|
|
||||||
# service
|
|
||||||
radicale = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
server = {
|
|
||||||
hosts = [
|
|
||||||
"0.0.0.0:${port}"
|
|
||||||
"[::]:${port}"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
auth = {
|
|
||||||
type = "htpasswd";
|
|
||||||
htpasswd_filename = config.age.secrets."radicale".path;
|
|
||||||
htpasswd_encryption = "plain";
|
|
||||||
};
|
|
||||||
storage = {
|
|
||||||
filesystem_folder = "/srv/radicale";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# reverse proxy
|
|
||||||
nginx = {
|
|
||||||
virtualHosts."${feature}.fi33.buzz" = {
|
|
||||||
forceSSL = true;
|
|
||||||
useACMEHost = "fi33.buzz";
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://localhost:${port}";
|
|
||||||
# proxyWebsockets = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
age.secrets."radicale" = {
|
|
||||||
file = ../../../secrets/radicale.age;
|
|
||||||
owner = "radicale";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue