chore(README): correct shell highlighting
This commit is contained in:
parent
e54c5faefe
commit
343d49187e
1 changed files with 9 additions and 9 deletions
18
README.md
18
README.md
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue