Compare commits

..

No commits in common. "925b87230541b4d13734712599289f9d89214f5b" and "6f643052e14c71ea6824593da2c6de01e2e0e206" have entirely different histories.

4 changed files with 25 additions and 32 deletions

View file

@ -7,16 +7,16 @@
]
},
"locked": {
"lastModified": 1637625975,
"narHash": "sha256-ByDgmhpLykhAVeaFggjqoSRdl2OzTDODnxjPuu97fL4=",
"lastModified": 1634404028,
"narHash": "sha256-JyP2Y6JCCYvUcVz7CXX5pXUfTGTU4GX51Yza82BgMfk=",
"owner": "ryantm",
"repo": "agenix",
"rev": "a0e9ca505c82e762d39e9477a428b537a0aab022",
"rev": "53aa91b4170da35a96fab1577c9a34bc0da44e27",
"type": "github"
},
"original": {
"owner": "ryantm",
"ref": "main",
"ref": "master",
"repo": "agenix",
"type": "github"
}

View file

@ -5,7 +5,7 @@
type = "github";
owner = "ryantm";
repo = "agenix";
ref = "main";
ref = "master";
inputs = {
nixpkgs.follows = "nixpkgs";
};

View file

@ -39,33 +39,6 @@ in
lfs.enable = true;
delta = {
enable = true;
options = {
features = "diff-highlight decorations";
# Less jarring style for `diff-highlight` emulation
diff-highlight = {
minus-style = "red";
minus-non-emph-style = "red";
minus-emph-style = "bold red 52";
plus-style = "green";
plus-non-emph-style = "green";
plus-emph-style = "bold green 22";
whitespace-error-style = "reverse red";
};
# Personal preference for easier reading
decorations = {
keep-plus-minus-markers = true;
paging = "always";
};
};
};
# There's more
extraConfig = {
# Makes it a bit more readable
@ -99,6 +72,13 @@ in
whitespace = "red reverse";
};
"color.diff-highlight" = {
oldNormal = "red bold";
oldHighlight = "red bold 52";
newNormal = "green bold";
newHighlight = "green bold 22";
};
commit = {
# Show my changes when writing the message
verbose = true;
@ -119,6 +99,16 @@ in
defaultBranch = "main";
};
pager =
let
diff-highlight = "${pkgs.gitAndTools.gitFull}/share/git/contrib/diff-highlight/diff-highlight";
in
{
diff = "${diff-highlight} | less";
log = "${diff-highlight} | less";
show = "${diff-highlight} | less";
};
pull = {
# Avoid useless merge commits
rebase = true;

View file

@ -18,6 +18,9 @@ in
extraOptions = ''
experimental-features = nix-command flakes
'';
# Keep my system responsive during builds
daemonNiceLevel = 19;
};
}