mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2024-12-26 16:48:55 +01:00
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:
parent
092d789980
commit
432e55e7ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user