aboutsummaryrefslogtreecommitdiff
path: root/nix/users
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-06-12 12:46:14 -0700
committerFranck Cuny <franck@fcuny.net>2025-06-12 12:46:14 -0700
commit6fff95981bfef5527518fbebac879c71877810ff (patch)
treeee12cecc6843ad931806109417e6aed865602ff3 /nix/users
parentuse a dedicated SSH key for agenix (diff)
downloadinfra-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.nix8
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 = {