WIP
- flakes
- deploy with deploy-rs
- use the zen Linux kernel
- use nixos-hardware for laptop
- BTRFS on all system
- impermanence
- full disk "wipe" on laptop
- all except /home wipe on desktop
- Full disk encryption on laptop
- emacs-init module for home-manager. See
users/bbigras/dev/emacs.nix
- overlays
- emacs-overlay
- nixpkgs-mozilla
- emacs-pgtk-nativecomp-overlay
- sway for 2 machines, gnome + paperwm for 1 machine not supporting sway
- split-dns with systemd-resolved (might be set in my privates files)
- tailscale
This 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.
My emacs.nix is a copy of rycee's with some of my changes. So he has some copyright claim on that file.
nix build .#hosts.desktop --impure
deploy -s .#pixel6 -- --impure
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