From 5dc73f59e2c9a104d0222c445584902c523c0519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Fri, 28 Jun 2024 20:20:39 +0100 Subject: [PATCH] add note on generating keys --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 23b9bd34..4575bcbc 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,12 @@ My dotfiles - including my vim, terminal and font config. My current setup consists of multiple machines running NixOS. This is using flakes for reproducibility and home manager for setting up user-specific things. + +## generating ssh keys +``` +ssh-keygen -t ed25519 +``` + Workstations are set up by running ` sudo nixos-rebuild switch --flake '.#'` and servers are by `nixos-rebuild switch --flake '.#servername' --target-host root@hostname`. I don't use home manager the program, everything is referenced from the top flake.