programs.git.attributes
NixOS option
Assign git attributes to files (one pattern per line): PATTERN1 ATTR1 ATTR2 ... Blank lines and lines beginning with # are ignored. See gitattributes(5) for more information.
type: strings concatenated with "\n"Default
""
Example
declared in: nixos/modules/programs/git.nixView source on NixOS/nixpkgs →"*.pdf diff=pdf"