Skip to content

Instantly share code, notes, and snippets.

@teh
Created August 2, 2016 10:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teh/c195cedccabcf54733e6bd0436b83c07 to your computer and use it in GitHub Desktop.
Save teh/c195cedccabcf54733e6bd0436b83c07 to your computer and use it in GitHub Desktop.
How to diff a nixops state file
$ cat .git/config
...
[diff "nixops"]
textconv = nixops export -s
$ cat .gitattributes
production/secrets/**/* filter=git-crypt diff=nixops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment