mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 19:32:24 +00:00
265 B
265 B
writers: https://nixos.wiki/wiki/Nix-writers
variable replacement: builtins.readFile (pkgs.substituteAll { src = ./nixhello.txt; name = "Major Tom"; }) that will replace all @name@ in the file with Major Tom https://nixos.org/nixpkgs/manual/#fun-substituteAll