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"); } ```