diff --git a/docs/manual/nix-flakes/prerequisites.md b/docs/manual/nix-flakes/prerequisites.md index fa48ce856..4250b155a 100644 --- a/docs/manual/nix-flakes/prerequisites.md +++ b/docs/manual/nix-flakes/prerequisites.md @@ -8,12 +8,7 @@ and rebuild your system. ``` nix - nix = { - package = pkgs.nixFlakes; - extraOptions = '' - experimental-features = nix-command flakes - ''; - }; + nix.settings.experimental-features = "nix-command flakes"; ``` - If you are not using NixOS, add the following to `nix.conf`