From 4c26230174c764d903e0dd1326c747a781b3e751 Mon Sep 17 00:00:00 2001 From: Galax <92019780+GalaxAI@users.noreply.github.com> Date: Fri, 22 Nov 2024 23:02:59 +0100 Subject: [PATCH] docs: fix logic typo trailing slash caused to copy directory. so the output was /etc/nixos/nixos-config/*.nix and should be /etc/nixos/*.nix --- docs/en/nixos-with-flakes/other-useful-tips.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/nixos-with-flakes/other-useful-tips.md b/docs/en/nixos-with-flakes/other-useful-tips.md index 94568e0..ec9cd17 100644 --- a/docs/en/nixos-with-flakes/other-useful-tips.md +++ b/docs/en/nixos-with-flakes/other-useful-tips.md @@ -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