docs(nix): use actual flake binding name

This commit is contained in:
2026-08-28 10:22:03 -04:00
parent a55592f59e
commit b61b8e3abf

View File

@@ -204,13 +204,13 @@ Use:
```nix ```nix
# flake.nix # flake.nix
let let
flakeAssembly = import ./flake { flake = import ./flake {
inherit inputs self; inherit inputs self;
lib = nixpkgs.lib; lib = nixpkgs.lib;
}; };
in in
{ {
nixosConfigurations = flakeAssembly.mkHosts (self + "/hosts"); nixosConfigurations = flake.mkHosts (self + "/hosts");
} }
``` ```
@@ -224,8 +224,8 @@ Avoid:
```nix ```nix
{ {
lib = flakeAssembly; lib = flake;
nixosConfigurations = flakeAssembly.mkHosts (self + "/hosts"); nixosConfigurations = flake.mkHosts (self + "/hosts");
} }
``` ```
@@ -233,6 +233,6 @@ Use:
```nix ```nix
{ {
nixosConfigurations = flakeAssembly.mkHosts (self + "/hosts"); nixosConfigurations = flake.mkHosts (self + "/hosts");
} }
``` ```