mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-06-21 20:41:25 +02: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
|
```shell
|
||||||
sudo mv /etc/nixos /etc/nixos.bak # Backup the original configuration
|
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)
|
# Deploy the flake.nix located at the default location (/etc/nixos)
|
||||||
sudo nixos-rebuild switch
|
sudo nixos-rebuild switch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user