diff --git a/hosts/ankaa/dotfiles/git/config b/hosts/ankaa/dotfiles/git/config index b697d84..3cc64a4 100644 --- a/hosts/ankaa/dotfiles/git/config +++ b/hosts/ankaa/dotfiles/git/config @@ -1,6 +1,4 @@ -[core] - sshCommand = "ssh -i ~/.ssh/id_ed25519" +core.sshCommand = "ssh -i ~/.ssh/id_ed25519" -[user] - email = "eesimmons9105@gmail.com" - name = "Ethan Simmons" +user.email = "eesimmons9105@gmail.com" +user.name = "Ethan Simmons" diff --git a/hosts/ankaa/dotfiles/ssh/config b/hosts/ankaa/dotfiles/ssh/config new file mode 100644 index 0000000..3546c56 --- /dev/null +++ b/hosts/ankaa/dotfiles/ssh/config @@ -0,0 +1,5 @@ +Host gitea + HostName git.simmer505.com + User git + IdentityFile ~/.ssh/id_ed25519 + IdentitiesOnly yes diff --git a/hosts/ankaa/home.nix b/hosts/ankaa/home.nix index 2702c57..ee76d3c 100644 --- a/hosts/ankaa/home.nix +++ b/hosts/ankaa/home.nix @@ -17,11 +17,16 @@ 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; + home.file.".config/ssh/config".source = ./dotfiles/ssh/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"; + }; programs.direnv = { enable = true;