mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-27 06:32:23 +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