nixos

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 9bc05a85192cc74fa611bb6a747c9ad9aab0ea18
parent 24203e7058444229097b0ef1040d904b75636b4f
Author: Toni Brown <me@tb148.net>
Date:   Mon,  2 Feb 2026 10:10:47 +0800

enable cloudflared for ssh

Diffstat:
Mconfig.nu | 1-
Mhome.nix | 6++++++
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/config.nu b/config.nu @@ -21,7 +21,6 @@ $env.TRANSIENT_PROMPT_COMMAND = ^starship module character $env.TRANSIENT_PROMPT_MULTILINE_INDICATOR = " " $env.EDITOR = 'hx' -$env.SHELL = 'nu' $env.UID = $'(id -u)' alias zed = zeditor alias zn = zeditor -n diff --git a/home.nix b/home.nix @@ -143,6 +143,12 @@ programs.pay-respects.enable = true; + programs.ssh = { + enable = true; + enableDefaultConfig = false; + matchBlocks."ssh.tb148.net".proxyCommand = "${pkgs.cloudflared}/bin/cloudflared access ssh --hostname %h"; + }; + programs.wezterm.enable = true; programs.wezterm.extraConfig = builtins.readFile ./wezterm.lua;