alex's nix flake#
Installation#
NixOS#
- Install Nix and enable flakes
- Switch to this flake:
nixos-rebuild switch --flake github:bates64/nixfiles
To switch to a specific machine, e.g. merlow, use github:bates64/nixfiles#merlow as the flake URI.
home-manager#
- Install Nix and enable flakes
- Install home-manager:
nix run home-manager/master -- init --switch - Restart shell
- Switch to this flake:
nix run home-manager/master -- switch --flake github:bates64/nixfiles
Networking#
Tailscale mesh VPN connects NixOS hosts on a private network. Authenticate once per machine:
sudo tailscale up --accept-dns
Then SSH between hosts should Just Work.