mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-19 22:01:42 +00:00
phase-1
This commit is contained in:
parent
f38c272269
commit
1dc4ed5f1a
20 changed files with 349 additions and 112 deletions
34
home/git.nix
34
home/git.nix
|
|
@ -1,10 +1,40 @@
|
|||
{ ... }:
|
||||
{ config, ... }:
|
||||
let
|
||||
theme = import ../lib/theme.nix { inherit config; };
|
||||
in
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
signing.format = "openpgp";
|
||||
|
||||
ignores = [
|
||||
"*.swp"
|
||||
"*.swo"
|
||||
"*~"
|
||||
".DS_Store"
|
||||
"Thumbs.db"
|
||||
".env"
|
||||
".env.local"
|
||||
".env.*.local"
|
||||
".vscode/"
|
||||
".idea/"
|
||||
".claude/"
|
||||
"CLAUDE.md"
|
||||
"node_modules/"
|
||||
"__pycache__/"
|
||||
"*.pyc"
|
||||
"venv/"
|
||||
".venv/"
|
||||
"build/"
|
||||
"dist/"
|
||||
"out/"
|
||||
"target/"
|
||||
"result"
|
||||
"result-*"
|
||||
".direnv/"
|
||||
];
|
||||
|
||||
settings = {
|
||||
user = {
|
||||
name = "Harivansh Rathi";
|
||||
|
|
@ -40,7 +70,7 @@
|
|||
};
|
||||
|
||||
delta = {
|
||||
"syntax-theme" = "gruvbox-dark";
|
||||
"syntax-theme" = theme.deltaTheme theme.defaultMode;
|
||||
"hunk-header-style" = "omit";
|
||||
"minus-style" = ''syntax "#3c1f1e"'';
|
||||
"minus-emph-style" = ''syntax "#72261d"'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue