❄️ Nix configurations
at v2 45 lines 705 B view raw
1{ 2 config, 3 lib, 4 pkgs, 5 ... 6}: { 7 8 programs.fish.shellAbbrs = { 9 g = "git"; 10 ga = "git add"; 11 gcm = "git commit -sm"; 12 gp = "git push"; 13 gpl = "git pull"; 14 gr = "git rebase"; 15 gs = "git status"; 16 }; 17 18 19 programs.gh = { 20 enable = true; 21 settings = { 22 version = "1"; 23 git_protocol = "ssh"; 24 }; 25 }; 26 27 programs.git = { 28 enable = true; 29 30 userName = "Alex Ottr"; 31 userEmail = "alex@otter.foo"; 32 signing = { 33 key = "B899892A9D13D8A761B5F3E0E3DC722E2943A517"; 34 signByDefault = true; 35 }; 36 37 extraConfig = { 38 init.defaultBranch = "main"; 39 pull.rebase = true; 40 rerere.enabled = true; 41 42 tag.gpgSign = false; 43 }; 44 }; 45}