From 8384dcda6a19c8d64a501b54bd4e005dab19526e Mon Sep 17 00:00:00 2001 From: Ethan Simmons Date: Wed, 29 May 2024 16:14:54 -0500 Subject: [PATCH] Move git config to dotfile --- hosts/ankaa/dotfiles/git/config | 6 ++++++ hosts/ankaa/home.nix | 9 +-------- 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 hosts/ankaa/dotfiles/git/config diff --git a/hosts/ankaa/dotfiles/git/config b/hosts/ankaa/dotfiles/git/config new file mode 100644 index 0000000..b697d84 --- /dev/null +++ b/hosts/ankaa/dotfiles/git/config @@ -0,0 +1,6 @@ +[core] + sshCommand = "ssh -i ~/.ssh/id_ed25519" + +[user] + email = "eesimmons9105@gmail.com" + name = "Ethan Simmons" diff --git a/hosts/ankaa/home.nix b/hosts/ankaa/home.nix index 449c85e..2702c57 100644 --- a/hosts/ankaa/home.nix +++ b/hosts/ankaa/home.nix @@ -17,18 +17,11 @@ home.file.".config/waybar".source = ./dotfiles/waybar; home.file.".config/fish/config.fish".source = ./dotfiles/fish/config.fish; home.file.".config/alacritty/alacritty.toml".source = ./dotfiles/alacritty/alacritty.toml; + home.file.".config/git/config".source = ./dotfiles/git/config; # Fix for slow steam download speeds https://old.reddit.com/r/linux_gaming/comments/16e1l4h/slow_steam_downloads_try_this/ home.file.".steam/steam/steam_dev.cfg".source = ./dotfiles/steam/steam_dev.cfg; - programs.git = { - enable = true; - userName = "Ethan Simmons"; - userEmail = "eesimmons9105@gmail.com"; - extraConfig = { - core.sshCommand = "ssh -i /home/eesim/.ssh/id_ed25519"; - }; - }; programs.direnv = { enable = true;