aboutsummaryrefslogtreecommitdiff
path: root/config/git.nix
diff options
context:
space:
mode:
authorDemonKingSwarn <rockingswarn@gmail.com>2026-04-20 14:16:22 +0530
committerDemonKingSwarn <rockingswarn@gmail.com>2026-04-20 14:16:22 +0530
commitc20179f1afc29be2ef3ee32011cbc097bc70f771 (patch)
tree6d601e759040d6e5843b1910c21bc1b17c63b231 /config/git.nix
parent62672163af7f58bac1607e3b33c59dd5ead0c52d (diff)
downloadodysseus-c20179f1afc29be2ef3ee32011cbc097bc70f771.zip
odysseus-c20179f1afc29be2ef3ee32011cbc097bc70f771.tar.gz
better organization and tmux
Diffstat (limited to 'config/git.nix')
-rw-r--r--config/git.nix80
1 files changed, 0 insertions, 80 deletions
diff --git a/config/git.nix b/config/git.nix
deleted file mode 100644
index 4b75f9c..0000000
--- a/config/git.nix
+++ /dev/null
@@ -1,80 +0,0 @@
-{ ... }:
-{
- xdg.enable = true;
-
- programs.git = {
- enable = true;
-
- settings = {
- user = {
- name = "DemonKingSwarn";
- email = "rockingswarn@gmail.com";
- };
-
- init = {
- defaultBranch = "master";
- };
-
- core = {
- compression = 4;
- whitespace = "error";
- preloadIndex = true;
- };
-
- advice = {
- addEmptyPathspec = false;
- pushNonFastForward = false;
- statusHints = false;
- };
-
- status = {
- branch = true;
- showStash = true;
- showUntrackedFiles = "all";
- };
-
- diff = {
- context = 3;
- renames = "copies";
- interHunkContext = 10;
- };
-
- push = {
- autoSetupRemote = true;
- default = "current";
- followTags = true;
- };
-
- pull = {
- rebase = true;
- };
-
- rebase = {
- autoStash = true;
- missingCommitsCheck = "warn";
- };
-
- http = {
- sslVerify = false;
- version = "HTTP/1.1";
- };
-
- gpg.format = "ssh";
-
- url = {
- "git@github.com:demonkingswarn/" = {
- insteadOf = "dks:/";
- };
- "git@github.com:" = {
- insteadOf = "gh:";
- };
- };
-
- credential = {
- "https://github.com".helper = [ "" "!/usr/bin/gh auth git-credential" ];
- "https://gist.github.com".helper = [ "" "!/usr/bin/gh auth git-credential" ];
- };
-
- };
- };
-}