You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ nix-deploy system --to remote-server --path $(nix-build --no-out-link -A system deploy.nix)
Generating RSA private key, 2048 bit long modulus
........................+++++
.......................................................................................................................................................................................................+++++
e is 65537 (0x10001)
writing RSA key
[+] Downloading: /etc/nix/signing-key.sec
nix-deploy: /etc/nix/signing-key.sec: openBinaryFile: does not exist (No such file or directory)
$ ls /etc/nix
nix.conf
$ ssh remote-server ls /etc/nix
nix.conf
signing-key.pub
signing-key.sec
$ sudo nix-store --generate-binary-cache-key localhost /etc/nix/signing-key.sec /etc/nix/signing-key.pub
$ ls /etc/nix
nix.conf signing-key.pub signing-key.sec
$ nix-deploy system --to remote-server --path $(nix-build --no-out-link -A system deploy.nix)
[+] Downloading: /etc/nix/signing-key.sec
nix-deploy: /etc/nix/signing-key.sec: openBinaryFile: permission denied (Permission denied)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: