-
|
hi! I am writing a configuration right now and I've found myself in a situation where I want to use One problem is that to do so, I had to write the config in nix by using the I did consider just putting it into its own .nix file and importing it, but that's still not quite what I was hoping to do What I was hoping to do, was being able to place things like ty for any help!!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Maybe I'm not understanding exactly but I think the If you have a file Then you can make Home Manager produce a file home.file."b612.txt".source = pkgs.replaceVars ./b612-in.txt {
b612 = pkgs.b612;
}; |
Beta Was this translation helpful? Give feedback.
Maybe I'm not understanding exactly but I think the
pkgs.replaceVarsfunction may be useful in this case.If you have a file
b612-in.txtlike so:Then you can make Home Manager produce a file
~/b612.txtwith@b612@replaced by the path ofpkgs.b612as follows: