From 9eb900ee6017d19d523f27d780d756cefc2b72fd Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 23 Dec 2024 18:40:22 +0100 Subject: style(treewide): Format --- notes/deploy.md | 2 ++ notes/passwords.md | 2 ++ notes/taskserver.md | 2 ++ 3 files changed, 6 insertions(+) (limited to 'notes') diff --git a/notes/deploy.md b/notes/deploy.md index 61dcbfc..2b274b5 100644 --- a/notes/deploy.md +++ b/notes/deploy.md @@ -1,5 +1,7 @@ # Full redeployment + After a complete server purge just load up the newest NixOS ISO, set the root password and run: + ```bash ipv4_address=$(dig +short ""); # ipv6 seems to fail in this context nix run github:numtide/nixos-anywhere -- --flake .# root@"$ipv4_address" diff --git a/notes/passwords.md b/notes/passwords.md index a26bc3e..d092782 100644 --- a/notes/passwords.md +++ b/notes/passwords.md @@ -1,6 +1,8 @@ # Passwords + These are created by running (and leaving everything to the default values, as we assume they are sound): + ```sh openssl rand -hex 64 | mkpasswd --password-fd=0 | wl-copy ``` diff --git a/notes/taskserver.md b/notes/taskserver.md index 36aeff0..04d5cd1 100644 --- a/notes/taskserver.md +++ b/notes/taskserver.md @@ -1,5 +1,7 @@ # User export + Use + ```bash nixos-taskserver user export my-company alice # or via ssh -- cgit 1.4.1