diff --git a/docs/nix.md b/docs/nix.md index d63d991..a5f58c0 100644 --- a/docs/nix.md +++ b/docs/nix.md @@ -195,27 +195,3 @@ Use: lib.mapAttrs f attrs ``` -## Flake Outputs - -### Expose only supported flake outputs - -Use public outputs for the supported interface of this flake. -Do not expose assembly functions as public outputs unless an external consumer needs them. -Keep internal functions in assembly files or `dotfiles` special arguments. - -Avoid: - -```nix -{ - lib = flake; - nixosConfigurations = flake.mkHosts (self + "/hosts"); -} -``` - -Use: - -```nix -{ - nixosConfigurations = flake.mkHosts (self + "/hosts"); -} -```