diff options
author | Linnnus <[email protected]> | 2023-09-05 09:48:04 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2023-09-05 09:48:04 +0200 |
commit | 7d4ab89f1e6264e124109bf25eafaafdf1aec02a (patch) | |
tree | b6af29bfe66c231b1a71bb05c9df211afe4cf341 /use-cases/development/git.nix |
Initial commit
Diffstat (limited to 'use-cases/development/git.nix')
-rw-r--r-- | use-cases/development/git.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/use-cases/development/git.nix b/use-cases/development/git.nix new file mode 100644 index 0000000..8df44db --- /dev/null +++ b/use-cases/development/git.nix @@ -0,0 +1,18 @@ +{ ... }: + +{ + programs.git = { + enable = true; + + # Set privacy-respecting user information. + userName = "Linnnus"; + userEmail = "[email protected]"; + }; + + home.shellAliases = { + gs = "git status"; + gd = "git diff"; + gc = "git commit"; + gap = "git add --patch"; + }; +} |