tailscale: nix-store --serve protocol mismatch from root@nas
What is the issue?
I’d like to use tailscale’s MagicDNS feature to build my other NixOS machines remotely. However, I’m getting the following error message for example if I try to deploy the NixOS config for my nas:
/nix/store/gff1a9d97z9y776x6c8illqgnls1vp9m-set-environment: line 16: warning: setlocale: LC_NUMERIC: cannot change locale (de_DE.UTF-8): No such file or directory
/nix/store/gff1a9d97z9y776x6c8illqgnls1vp9m-set-environment: line 19: warning: setlocale: LC_TIME: cannot change locale (de_DE.UTF-8): No such file or directory
error: 'nix-store --serve' protocol mismatch from 'root@nas'
Steps to reproduce
- Install NixOS on two systems
- Enable MagicDNS + tailscale-ssh on both systems
- Add ssh keys to remote system for user
root - Execute
nixos-rebuild switch --flake .#<name of the remote system> --target root@<hostname of the remote system>
Are there any recent changes that introduced the issue?
No
OS
Linux, Other
OS version
nixos-24.05
Tailscale version
1.76.6, go version: go1.23.1
Other software
Don’t know what to enter here.
Bug report
BUG-88f44b90e276f62476982e9485003b53a27f29cde3eb624af9291dc0550ef558-20241114104317Z-b8803dd552bc9570
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 5
- Comments: 16 (7 by maintainers)
Thanks @TornaxO7 . I’m reaching out to some NixOS users internally to see if someone else can reproduce the problem.
@oxtoacart I copy+pasted your given setup to the
Access Controlsjson file but I’m still getting the same error messag.hm… ok no, looks like as if nothing changed. I set it to “no” and executed
nixos-rebuild switchon my pc + nas.When executing
nixos-rebuild switch --flake .#nas --target-host root@nas --verbose:When using
nixos-rebuild switch --flake .#nas --target-host root@nas --show-trace: