1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: convert sentinel to caddy

This commit is contained in:
oddlama 2023-06-05 01:53:38 +02:00
parent 6f84594c87
commit 9e4f8dcf0d
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
5 changed files with 51 additions and 25 deletions

View file

@ -157,6 +157,7 @@ in {
name = "Loki";
type = "loki";
access = "proxy";
# TODO use public endpoint, and enable oauth token passing
url = "http://${nodes."${parentNodeName}-loki".config.extra.wireguard."${parentNodeName}-local-vms".ipv4}:3100";
orgId = 1;
}
@ -239,6 +240,8 @@ in {
}: {
rekey.hostPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICDDvvF3+KwfoZrPAUAt2HS7y5FM9S5Mr1iRkBUqoXno";
extra.wireguard.proxy-sentinel.client.via = "sentinel";
networking.nftables.firewall = {
zones = lib.mkForce {
#local-vms.interfaces = ["local-vms"];