add comments

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-01-13 20:30:49 +01:00
parent a1d57253f0
commit 8c4b9340b6
7 changed files with 12 additions and 8 deletions

View File

@@ -1,3 +1,5 @@
# Cloudflared tunnel configuration for NixOS
# It allows exposing services securely via Cloudflare Tunnel
{
config,
pkgs,
@@ -5,9 +7,10 @@
}: {
sops.secrets.cloudflared-token.mode = "0400";
# To setup cloudflared, run
# cloudflared tunnel login
# cloudflared tunnel create JackTunnel
# To setup cloudflared, run:
# - `cloudflared tunnel login`
# - `cloudflared tunnel create YourTunnelName`
#
# This will create a credentials file & give you the tunnel ID to use below.
services.cloudflared = {
enable = true;
@@ -23,11 +26,6 @@
# At the moment (2025), for support of browser rendering of the tunnels, this line is required:
services.openssh.settings.Macs = [
# Current defaults:
"hmac-sha2-512-etm@openssh.com"
"hmac-sha2-256-etm@openssh.com"
"umac-128-etm@openssh.com"
# Added:
"hmac-sha2-256"
];
}