From 12f3abc11e8cf112d8367f470171d5ff60afac73 Mon Sep 17 00:00:00 2001 From: alexion Date: Fri, 28 Aug 2026 10:38:46 -0400 Subject: [PATCH] docs(nix): remove premature flake outputs rule --- docs/nix.md | 24 ------------------------ 1 file changed, 24 deletions(-) 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"); -} -```