fork/home-manager
git clone https://git.julia.blue/fork/home-manager
cc60c22c
master
1{ pkgs , ...} :{ 2config = { 3programs . git = { 4enable = true ; 5userName = "John Doe" ; 6userEmail = "user@example.org" ; 7 8signing = { 9gpgPath = "path-to-gpg" ; 10key = "00112233445566778899AABBCCDDEEFF" ; 11signByDefault = true ; 12}; 13}; 14 15nmt . script = '' 16assertFileExists home-files/.config/git/config 17assertFileContent home-files/.config/git/config ${ 18./git-with-signing-key-id-expected.conf 19} 20'' ; 21}; 22}