Skip to content

Instantly share code, notes, and snippets.

@LnL7
Created February 3, 2020 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LnL7/ff58e73e3c444444b68efdb9ff41f24e to your computer and use it in GitHub Desktop.
Save LnL7/ff58e73e3c444444b68efdb9ff41f24e to your computer and use it in GitHub Desktop.
$ nix copy --to ssh-ng://cache-host
Host cache-host
HostName host
IdentityFile ~/.ssh/nix_cache_rsa
command="nix-daemon --stdio --store file://mnt/nix-cache" ssh-rsa XXXXXXXXXXXXXXXXXXXXXXXXX user@client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment