Note that the license should include lovesegfault’s copyright on many files. Not sure how to sort that yet.
Build one host
nix build .#hosts.desktop --impure
Deploy one host
deploy -s .#pixel6 -- --impure
nix-on-droid (first time)
On the phone:
nix-shell -p openssh -p which
# get user and group id and put it in hosts/pixel6/default.nix
id
ssh-keygen -q -N "" -t ed25519 -f ~/ssh_host_ed25519_key
cat <<EOF > tmp-sshd
HostKey ~/ssh_host_ed25519_key
Port 8022
EOF
mkdir -p ~/.ssh
cat <<EOF > ~/.ssh/authorized_keys
**my key**
EOF
# start sshd server to be able to deploy from desktop with deploy-rs
`which sshd` -dD -f ~/tmp-sshd
nix-config

WIP
Features
users/bbigras/dev/emacs.nixThis is heavily based on https://github.com/lovesegfault/nix-config. Many files were copied directly from that repo.
Note that the license should include lovesegfault’s copyright on many files. Not sure how to sort that yet.
Build one host
Deploy one host
nix-on-droid (first time)
On the phone: