aboutsummaryrefslogtreecommitdiff
path: root/common/gitm.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common/gitm.nix')
-rw-r--r--common/gitm.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/common/gitm.nix b/common/gitm.nix
new file mode 100644
index 0000000..ef78829
--- /dev/null
+++ b/common/gitm.nix
@@ -0,0 +1,17 @@
+_: {
+ # enable programs
+ programs = {
+ git = {
+ enable = true;
+ userName = "beanigen";
+ userEmail = "beanigit@protonmail.com";
+ extraConfig = {
+ commit.gpgsign = true;
+ gpg.format = "ssh";
+ user.signingkey = "~/.ssh/id_ed25519.pub";
+ init.defaultBranch = "master";
+ };
+ };
+ # ... add more programs as you see fit
+ };
+}