Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
viperML committed Dec 11, 2024
1 parent 97e70d0 commit 6a69a14
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,11 @@ set the following configuration:
Nh supports both Flakes and classical NixOS configurations:

- For flakes, the command is `nh os switch /path/to/flake`
- For a classical configuration, you must use `nh os switch -f <nixpkgs/nixos>
/etc/nixos/configuration.nix`
- For a classical configuration:
- `nh os switch -f '<nixpkgs/nixos>'`, or
- `nh os switch -f '<nixpkgs/nixos>' -- -I
nixos-config=/path/to/configuration.nix` if using a different location than
the default.

You might want to check `nh os --help` for other values and the defaults from
environment variables.
Expand Down

0 comments on commit 6a69a14

Please sign in to comment.