Skip to content

Commit

Permalink
🔍
Browse files Browse the repository at this point in the history
  • Loading branch information
Enzime committed Dec 20, 2023
1 parent 8c56e4b commit bf12162
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Added `diff.age.textconv` to support `git diff` on `.age` files
- Use `enzime` key instead of `enzime_*`
- Readded `agenix` `zsh` function
- Added `captive-browser` on laptops
Expand Down
18 changes: 16 additions & 2 deletions modules/base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,22 @@ in {
extraConfig = {
advice = { addIgnoredFile = false; };
am = { threeWay = true; };
core = { hooksPath = "~/.config/git/hooks"; };
diff = { colorMoved = "default"; };
core = {
attributesfile = "${pkgs.writeText "attributesfile" ''
*.age diff=age
''}";
hooksPath = "~/.config/git/hooks";
};
diff = {
colorMoved = "default";
age.textconv = "${lib.getExe (pkgs.writeShellApplication {
name = "age-textconv";
runtimeInputs = [ pkgs.age ];
text = ''
age --decrypt -i <(op read "op://trimcmujfu5fjcx5u4u752yk2i/6gedf3cheamokyw47sq4wbxlsy/private key?ssh-format=openssh") "$1"
'';
})}";
};
fetch = { prune = true; };
init = { defaultBranch = "main"; };
merge = { conflictStyle = "zdiff3"; };
Expand Down
Binary file modified secrets/zshrc_phi.age
Binary file not shown.

0 comments on commit bf12162

Please sign in to comment.