Carrot
1
bash: line 1: started: command not found
While running
nix copy ...
and
nixos-rebuild switch --flake .#laptop --target-host myuser@$myip --build-host localhost --use-remote-sudo
The nix copy has a workaround with:
nix run nixpkgs#nixVersions.nix_2_14 -- copy ...
but I can’t run nixos-rebuild on that new system.
Can you run any of these commands on an updated(nixos-unstable) system without the error?
Carrot
2
Am I the only one that sees this error?
Carrot
3
Are you able to use nix copy to a different machine ?
I always get this error, unless I use an old version of nix.
Carrot
4
Found the culprit:
base = home: user: {
programs.ssh = {
enable = true;
# package = pkgs.symlinkJoin {
# name = "ssh";
# paths = [
# (pkgs.writeShellScriptBin "ssh" ''
# export TERM=xterm-256color
# ${pkgs.openssh}/bin/ssh $@
# '')
# pkgs.openssh
# ];
};