From 0751adcc370dd121d179b51f90bf8fac02a076c1 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 12 Jun 2025 13:08:07 -0700 Subject: simplify how we're managing templates for `llm` Add the variable `configPath` to home-manager, to map directly to the top level configuration of the current user (`./configs/users/$user'). Add a function to generate the mapping for all the templates we need for the `llm` CLI. --- nix/lib/mkSystem.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nix/lib') diff --git a/nix/lib/mkSystem.nix b/nix/lib/mkSystem.nix index 3241dd9..94d1b35 100644 --- a/nix/lib/mkSystem.nix +++ b/nix/lib/mkSystem.nix @@ -54,6 +54,7 @@ systemFunc rec { }; home-manager.extraSpecialArgs = { inherit self inputs; + configPath = "${self}/configs/users/${user}"; }; } -- cgit v1.2.3