proxmox-nixos
proxmox-nixos copied to clipboard
util-linux inclusion in pkgs.proxmox-ve paths somehow breaks tailscale ssh
I wish I were nix-savvy enough to know exactly why this is happening. Tailscale's SSH feature intercepts SSH connections on port 22 (when those connections arrive via Tailscale's network) and sends them to its own binary. I've had trouble getting it to work on my proxmox-nixos hypervisors.
After bisecting my entire nix configuration, I narrowed the setting that breaks Tailscale SSH first to services.proxmox-ve.enable = true;
; then to the environment.systemPackages = [ cfg.package ];
line in this repo's modules/proxmox-ve/default.nix
; then to this line.
When that one line is commented out, Tailscale SSH always works. When it is not commented out, Tailscale SSH always fails.
Please let me know if you have any intuition as to why.
I see that util-linux
was added in support of the toggle-able linstor functionality. If we can't figure out why exactly this is breaking; maybe we can move util-linux
into the conditionally-included list? (like this)