diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-06-12 12:46:14 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-06-12 12:46:14 -0700 |
| commit | 6fff95981bfef5527518fbebac879c71877810ff (patch) | |
| tree | ee12cecc6843ad931806109417e6aed865602ff3 /nix/users | |
| parent | use a dedicated SSH key for agenix (diff) | |
| download | infra-6fff95981bfef5527518fbebac879c71877810ff.tar.gz | |
pass `self` to the home-manager modules
This is to avoid using relative paths, which is always annoying to get
right.
Diffstat (limited to 'nix/users')
| -rw-r--r-- | nix/users/fcuny/llm.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nix/users/fcuny/llm.nix b/nix/users/fcuny/llm.nix index c41bf04..0c6c072 100644 --- a/nix/users/fcuny/llm.nix +++ b/nix/users/fcuny/llm.nix @@ -1,13 +1,13 @@ -{ ... }: +{ self, ... }: { home.file.".config/llm/templates/pr-prompt.yaml".text = - builtins.readFile ../../../configs/llm/templates/pr-prompt.yaml; + builtins.readFile "${self}/configs/llm/templates/pr-prompt.yaml"; home.file.".config/llm/templates/commit-prompt.yaml".text = - builtins.readFile ../../../configs/llm/templates/commit-prompt.yaml; + builtins.readFile "${self}/configs/llm/templates/commit-prompt.yaml"; home.file.".config/llm/templates/readme-gen.yaml".text = - builtins.readFile ../../../configs/llm/templates/readme-gen.yaml; + builtins.readFile "${self}/configs/llm/templates/readme-gen.yaml"; programs.fish = { shellAliases = { |
