mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
Allow configuring APPEND_SYSTEM.md with inline instructions or a file path, following the context option and respecting configDir.
12 lines
271 B
Nix
12 lines
271 B
Nix
{
|
|
programs.pi-coding-agent = {
|
|
enable = true;
|
|
appendSystem = ./append-system.md;
|
|
};
|
|
nmt.script = ''
|
|
assertFileExists home-files/.pi/agent/APPEND_SYSTEM.md
|
|
assertFileContent home-files/.pi/agent/APPEND_SYSTEM.md \
|
|
${./append-system.md}
|
|
'';
|
|
}
|