feat(nix): add writeText/writeTextDir injection

This commit is contained in:
Lương Việt Hoàng 2026-03-22 20:35:04 +07:00
parent 539abf6da5
commit 4a53f4cb18
2 changed files with 55 additions and 0 deletions

View file

@ -70,6 +70,19 @@ in {
'';
};
drv13 = pkgs.writeText "config.json" ''
{
"foo": 1,
"bar": 2
}
'';
drv14 = pkgs.writeTextDir "etc/ssh/ssh_config" ''
Host *
AddressFamily any
ForwardX11 no
'';
mod1 = {
type = "lua";
config = ''