From b61b8e3abfd5da041dc1e2660d4abed2f20c2b41 Mon Sep 17 00:00:00 2001 From: alexion Date: Fri, 28 Aug 2026 10:22:03 -0400 Subject: [PATCH] docs(nix): use actual flake binding name --- docs/nix.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/nix.md b/docs/nix.md index de2a1e0..16059df 100644 --- a/docs/nix.md +++ b/docs/nix.md @@ -204,13 +204,13 @@ Use: ```nix # flake.nix let - flakeAssembly = import ./flake { + flake = import ./flake { inherit inputs self; lib = nixpkgs.lib; }; in { - nixosConfigurations = flakeAssembly.mkHosts (self + "/hosts"); + nixosConfigurations = flake.mkHosts (self + "/hosts"); } ``` @@ -224,8 +224,8 @@ Avoid: ```nix { - lib = flakeAssembly; - nixosConfigurations = flakeAssembly.mkHosts (self + "/hosts"); + lib = flake; + nixosConfigurations = flake.mkHosts (self + "/hosts"); } ``` @@ -233,6 +233,6 @@ Use: ```nix { - nixosConfigurations = flakeAssembly.mkHosts (self + "/hosts"); + nixosConfigurations = flake.mkHosts (self + "/hosts"); } ```