docs: fix logic typo (#200)

trailing slash caused to copy directory. so the output was
/etc/nixos/nixos-config/*.nix
and should be
/etc/nixos/*.nix
This commit is contained in:
Galax 2024-11-23 00:08:39 +01:00 committed by GitHub
parent 092d789980
commit 432e55e7ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@ For example, you can place your flake in `~/nixos-config` and create a symbolic
```shell
sudo mv /etc/nixos /etc/nixos.bak # Backup the original configuration
sudo ln -s ~/nixos-config/ /etc/nixos
sudo ln -s ~/nixos-config /etc/nixos
# Deploy the flake.nix located at the default location (/etc/nixos)
sudo nixos-rebuild switch