README: format with mdsh

Use mdsh to keep the option parsing outputs in the README in sync with
the script.
This commit is contained in:
zimbatm 2023-05-10 10:28:37 +02:00
parent 3dd1bb7994
commit 4c354b29f1
2 changed files with 3 additions and 3 deletions

View File

@ -46,9 +46,8 @@ nix run github:numtide/nixos-anywhere -- root@yourip --flake github:your-user/yo
The parameter passed to `--flake` should point to your nixos configuration
exposed in your flake (`nixosConfigurations.your-system` in the example above).
`nixos-anywhere --help`
```shell
<!-- `$ ./src/nixos-anywhere.sh --help` -->
```
Usage: nixos-anywhere [options] ssh-host
Options:

View File

@ -27,6 +27,7 @@
perSystem = { config, ... }: {
treefmt = {
projectRootFile = "flake.nix";
programs.mdsh.enable = true;
programs.nixpkgs-fmt.enable = true;
programs.shellcheck.enable = true;
programs.shfmt.enable = true;