summaryrefslogtreecommitdiff
path: root/use-cases/development/git.nix
diff options
context:
space:
mode:
Diffstat (limited to 'use-cases/development/git.nix')
-rw-r--r--use-cases/development/git.nix18
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";
+ };
+}