mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 17:49:07 +01:00
Move radicale from vps-public to vps-private
This commit is contained in:
parent
acee101cbc
commit
dc8d96cae8
2 changed files with 7 additions and 14 deletions
|
|
@ -47,6 +47,12 @@
|
||||||
doBackups = true;
|
doBackups = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
radicale = {
|
||||||
|
enable = true;
|
||||||
|
domain = "dav.${privateDomain}";
|
||||||
|
doBackups = true;
|
||||||
|
};
|
||||||
|
|
||||||
actualbudget = {
|
actualbudget = {
|
||||||
enable = true;
|
enable = true;
|
||||||
domain = "budget.${privateDomain}";
|
domain = "budget.${privateDomain}";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, self, ... }:
|
{ self, ... }:
|
||||||
{
|
{
|
||||||
imports = [ self.nixosModules.server-profile ];
|
imports = [ self.nixosModules.server-profile ];
|
||||||
|
|
||||||
|
|
@ -21,13 +21,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.caddy.virtualHosts."dav.${sproutedDomain}" = {
|
|
||||||
inherit (config.custom.web-services.radicale) port;
|
|
||||||
extraConfig = ''
|
|
||||||
respond /.web/ "Access denied" 403 { close }
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
web-services =
|
web-services =
|
||||||
let
|
let
|
||||||
sstorkDomain = "sstork.dev";
|
sstorkDomain = "sstork.dev";
|
||||||
|
|
@ -70,12 +63,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
domain = "mirror.${sproutedDomain}";
|
domain = "mirror.${sproutedDomain}";
|
||||||
};
|
};
|
||||||
|
|
||||||
radicale = {
|
|
||||||
enable = true;
|
|
||||||
domain = "dav.${config.custom.networking.overlay.domain}";
|
|
||||||
doBackups = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue