diff options
Diffstat (limited to 'modules/home/common.nix')
| -rw-r--r-- | modules/home/common.nix | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/modules/home/common.nix b/modules/home/common.nix index 4eb0d56..cc9c68f 100644 --- a/modules/home/common.nix +++ b/modules/home/common.nix @@ -8,20 +8,31 @@ in programs = { git = { enable = true; - userName = "Mel"; - userEmail = "mel@rnrd.eu"; signing = { key = "D75A C286 ACA7 00B4 D8EC 377D 2082 F8EC 11CC 009B"; signByDefault = true; }; ignores = [ - # ignore most vim swapfiles - "*~" "[._]*.sw?" + # ignore most vim swap-files + "*~" + "[._]*.sw?" ]; - extraConfig = { + + settings = { + user = { + name = "Mel"; + email = "mel@rnrd.eu"; + }; + + alias = { + "skip" = "update-index --skip-worktree"; + "unskip" = "update-index --no-skip-worktree"; + }; + init.defaultBranch = "main"; pull.rebase = true; }; + }; tmux = { |
