aboutsummaryrefslogtreecommitdiff
path: root/common/gitm.nix
diff options
context:
space:
mode:
authorrubiigen <alyxwren@proton.me>2024-02-02 18:29:45 +0000
committerFrankie B <frankieraybrown@gmail.com>2024-02-02 18:39:57 +0000
commitd666f30475528ce7f50cc3dd92a1693241083fe8 (patch)
tree5b443f79a7100f2db735853335df81d9a7b95cc3 /common/gitm.nix
parentea3485f5c5dac7f89562db741bf981b2b743d01c (diff)
major refactor (treewide amongst general cleaning based on my modified dots (with help from notashelf) - perks 1: it works
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
+ };
+}