tailscale / tailscale/tailscale

nix-store --serve protocol mismatch from root@nas

Open
#14,093 17 comments 6 reactions 1 assignee Claimed by @oxtoacart View on GitHub
bug needs-triage
Dominant language
Go
Stars
36.5k
Forks
3.2k
Avg merge
2d 3h
Merged PRs (30d)
123

Description

### What is the issue?

I'd like to use [tailscale's MagicDNS](https://tailscale.com/kb/1081/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

1. Install NixOS on two systems
2. Enable MagicDNS + tailscale-ssh on both systems
3. Add ssh keys to remote system for user `root`
4. Execute `nixos-rebuild switch --flake .# --target root@`

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.