From 593b0c667d93404972ad8459ffdfc4f5af465d53 Mon Sep 17 00:00:00 2001 From: Norbert Melzer Date: Tue, 3 Jun 2025 14:57:46 +0200 Subject: [PATCH] doc: fix instructions for enabling flakes in NixOS (#7189) --- docs/manual/nix-flakes/prerequisites.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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`