Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hgl/configs

Repository files navigation

My Configurations

This repo contains all my machines' configurations. It uses Nixverse and nix-networkd.

How to bootstrap

  1. Install Nix
  2. Add ssh keys to ~/.ssh so it's possible to clone the private submodule.
$ git clone --recurse-submodules [email protected]:hgl/configs.git
$ cd configs

After that, machines can be deployed with

$ nix run . node deploy routers servers

Notes

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.

About

My nix configurations

Resources

Stars

Watchers

Forks