From f63d51ee2616d2370135de37453f70d3f09fc327 Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Tue, 31 Mar 2026 00:23:05 -0400 Subject: [PATCH] update --- leverage.txt => leverage.md | 2 ++ 1 file changed, 2 insertions(+) rename leverage.txt => leverage.md (99%) diff --git a/leverage.txt b/leverage.md similarity index 99% rename from leverage.txt rename to leverage.md index d8cd50e..66cdab2 100644 --- a/leverage.txt +++ b/leverage.md @@ -1,3 +1,5 @@ +# Nix Leveraging + [flake.nix](./flake.nix) is the root lever: one flake, one lockfile, one graph for both macOS and Linux. [modules/hosts/darwin.nix](./modules/hosts/darwin.nix) composes `nix-darwin`, `home-manager`, and `nix-homebrew`; [modules/hosts/netty.nix](./modules/hosts/netty.nix) composes `nixosSystem`, `disko`, and `home-manager`. The point is not “using Nix”; it is collapsing laptop state and VPS state into one reproducible interface. [modules/nixpkgs.nix](./modules/nixpkgs.nix) and [lib/hosts.nix](./lib/hosts.nix) are the next leverage layer. They define the global `username`, per-host metadata, feature flags, and the `specialArgs` boundary. That removes random `isDarwin` checks from leaf modules and turns host differences into data.