summaryrefslogtreecommitdiff
path: root/nix/modules/home/git.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-02 00:03:12 -0800
committerPreston Pan <ret2pop@nullring.xyz>2026-03-02 00:03:12 -0800
commit9484c4ec525c02caa8a65ecfe37ed24f1d4b321d (patch)
tree676712a1504939b37a69fbee9c235dc61917cd65 /nix/modules/home/git.nix
parenta05e0614c1bb75f77717a943dc4ac75a0cca4652 (diff)
Remove local nix directory to prepare for submodule
Diffstat (limited to 'nix/modules/home/git.nix')
-rw-r--r--nix/modules/home/git.nix40
1 files changed, 0 insertions, 40 deletions
diff --git a/nix/modules/home/git.nix b/nix/modules/home/git.nix
deleted file mode 100644
index 4018a3b..0000000
--- a/nix/modules/home/git.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-{ pkgs, lib, config, super, ... }:
-{
- programs.git = {
- enable = lib.mkDefault config.monorepo.profiles.graphics.enable;
- package = pkgs.gitFull;
- lfs.enable = lib.mkDefault config.monorepo.profiles.graphics.enable;
- userName = super.monorepo.vars.fullName;
- userEmail = "${super.monorepo.vars.email}";
- signing = {
- key = super.monorepo.vars.gpgKey;
- signByDefault = true;
- };
-
- extraConfig = {
- init.defaultBranch = "main";
- credential."mail.${super.monorepo.vars.orgHost}" = {
- username = "${super.monorepo.vars.email}";
- helper = "!f() { test \"$1\" = get && echo \"password=$(cat /run/user/1000/secrets/mail)\"; }; f";
- };
-
- sendemail = {
- smtpserver = "mail.${super.monorepo.vars.orgHost}";
- smtpuser = "${super.monorepo.vars.email}";
- smtpserverport = 465;
- smtpencryption = "ssl";
- };
- };
-
- aliases = {
- pl = "pull";
- ps = "push";
- co = "checkout";
- c = "commit";
- a = "add";
- st = "status";
- sw = "switch";
- b = "branch";
- };
- };
-}