This repo contains all my machines' configurations. It uses Nixverse and nix-networkd.
- Install Nix
- Add ssh keys to
~/.sshso it's possible to clone theprivatesubmodule.
$ git clone --recurse-submodules [email protected]:hgl/configs.git
$ cd configs
After that, machines can be deployed with
$ nix run . node deploy routers servers
nodes/common/ssh.nix is probably the most interesting one. It's the central place to specify the public ssh keys all machines accept and their SSH options. This demonstrates Nixverse's cross-cutting ability.