summaryrefslogtreecommitdiff
path: root/users/seth/programs/git.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-10-01 10:41:09 -0400
committerseth <[email protected]>2023-10-01 10:49:46 -0400
commita8630322f77dbb7be4810099a42352b9278996a1 (patch)
treeb8df66a7e5b9d8c31b27a4a9b357ff7e4b9d418f /users/seth/programs/git.nix
parent30f55e656d344e017f66ecbae8eb27cf13ba53bb (diff)
treewide!: flatten to parts/ layout
Diffstat (limited to 'users/seth/programs/git.nix')
-rw-r--r--users/seth/programs/git.nix51
1 files changed, 0 insertions, 51 deletions
diff --git a/users/seth/programs/git.nix b/users/seth/programs/git.nix
deleted file mode 100644
index ec92f8d..0000000
--- a/users/seth/programs/git.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-{
- config,
- lib,
- ...
-}: let
- cfg = config.getchoo.programs.git;
- inherit (lib) mkEnableOption mkIf;
-in {
- options.getchoo.programs.git.enable = mkEnableOption "git" // {default = true;};
-
- config = mkIf cfg.enable {
- programs = {
- gh = {
- enable = true;
- settings = {
- git_protocol = "https";
- editor = "nvim";
- prompt = "enabled";
- };
-
- gitCredentialHelper = {
- enable = true;
- hosts = ["https://github.com" "https://github.example.com"];
- };
- };
-
- git = {
- enable = true;
-
- delta = {
- enable = true;
- options = {
- syntax-theme = "catppuccin";
- };
- };
-
- extraConfig = {
- init = {defaultBranch = "main";};
- };
-
- signing = {
- key = "D31BD0D494BBEE86";
- signByDefault = true;
- };
-
- userEmail = "[email protected]";
- userName = "seth";
- };
- };
- };
-}