chore(README): correct shell highlighting

This commit is contained in:
reo101 2024-07-28 02:41:08 +03:00
parent e54c5faefe
commit 343d49187e
Signed by: reo101
GPG key ID: 675AA7EF13964ACB

View file

@ -59,7 +59,7 @@
You can see the overall topology of the hosts by running You can see the overall topology of the hosts by running
```bash ```sh
nix build .#topology nix build .#topology
``` ```
@ -74,27 +74,27 @@ Secrets are managed by [`agenix`](https://github.com/ryantm/agenix) and [`agenix
> [!NOTE] > [!NOTE]
> Secrets are defined by the hosts themselves, `agenix-rekey` *just* collects what secrets are referenced by them and lets you generate, edit and rekey them > Secrets are defined by the hosts themselves, `agenix-rekey` *just* collects what secrets are referenced by them and lets you generate, edit and rekey them
```bash ```sh
# To put `rage`, `agenix-rekey` and friends in `$PATH` # To put `rage`, `agenix-rekey` and friends in `$PATH`
nix develop nix develop
``` ```
## Edit secret ## Edit secret
```bash ```sh
# Select from `fzf` menu # Select from `fzf` menu
agenix edit agenix edit
``` ```
## Rekey all secrets ## Rekey all secrets
```bash ```sh
agenix rekey agenix rekey
``` ```
## Generate missing keys (with the defined `generators`) ## Generate missing keys (with the defined `generators`)
```bash ```sh
agenix generate agenix generate
``` ```
@ -104,17 +104,17 @@ agenix generate
## NixOS setup ## NixOS setup
```bash ```sh
# Initial setup # Initial setup
nix run nixpkgs#nixos-anywhere -- --flake .#${HOSTNAME} --build-on-remote --ssh-port 22 root@${HOSTNAME} --no-reboot nix run nixpkgs#nixos-anywhere -- --flake ".#${HOSTNAME}" --build-on-remote --ssh-port 22 "root@${HOSTNAME}" --no-reboot
# Deploy # Deploy
deploy .#${HOSTNAME} --skip-checks deploy ".#${HOSTNAME}" --skip-checks
``` ```
## MacOS / Darwin (silicon) setup ## MacOS / Darwin (silicon) setup
```bash ```sh
# Setup system tools # Setup system tools
softwareupdate --install-rosetta --agree-to-license softwareupdate --install-rosetta --agree-to-license
sudo xcodebuild -license sudo xcodebuild -license