-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.git-crypt|secrets: setup git-crypt as secrets provider
This is arguably the safest way I can think of that isn't stupidly annoying. Both `sops-nix` and `agenix` require you to manage a secondary key, which is a bit annoying for me. This is significantly easier, and moreso because the encryption happens transparently. On my system it wont look encrypted at all, but online you will never be able to see it. New collaborators: 87051A83 Ali Rizvi <[email protected]>
- Loading branch information
Showing
3 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Do not edit this file. To specify the files to encrypt, create your own | ||
# .gitattributes file in the directory where your files are. | ||
* !filter !diff | ||
*.gpg binary |
1 change: 1 addition & 0 deletions
1
.git-crypt/keys/default/0/6A25DEBE41DB0C153AB5BB345290E18B87051A83.gpg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
�^�aL��@EQx"�4��!}�A]��"�כ�P��2�c����[0�-PŬ�Q�J9-�����FGڂ����>�$r�<�O�ND�4�|,����T7'�j�@B�6��x��aB�k�9���Vzd&)^B"c��D �"�|��q���_�C�6�1�Ɇ,r.n/�i���F�~��0z�����*4Ъ����@GU1a4�������!||�v�}���C��P|q'�Ý���g+�����)#6F���MKr�R�{�Q8����"��j]�l��v��>u^�߆�`ه�4B� |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,14 @@ | |
|
||
introduce-bin, | ||
nixos-clean, | ||
|
||
git-crypt, | ||
}: | ||
mkShellNoCC { | ||
packages = [ | ||
introduce-bin | ||
nixos-clean | ||
|
||
git-crypt | ||
]; | ||
} |