diff --git a/home/ssh/config b/home/ssh/config new file mode 100644 index 0000000..04f4840 --- /dev/null +++ b/home/ssh/config @@ -0,0 +1,6 @@ +Host github.com + AddKeysToAgent yes + UseKeychain yes + IgnoreUnknown UseKeychain + IdentityFile ~/.ssh/id_ed25519 + User git diff --git a/install.conf.yaml b/install.conf.yaml index 786633c..637231b 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -14,6 +14,7 @@ force: true ~/.editorconfig: home/editorconfig ~/.yarnrc.yml: home/yarnrc.yml + ~/.ssh/config: home/ssh/config ~/.config/git/config: xdg/git/config ~/.config/git/attributes: xdg/git/attributes @@ -26,6 +27,8 @@ ~/.config/zellij/config.kdl: xdg/zellij/config.kdl ~/.config/direnv/direnv.toml: xdg/direnv/direnv.toml ~/.config/direnv/direnvrc: xdg/direnv/direnvrc + ~/.config/nix/nix.conf: xdg/nix/nix.conf + ~/.config/gh/config.yml: xdg/gh/config.yml - shell: - [git submodule update --init --recursive, Installing submodules] diff --git a/xdg/gh/config.yml b/xdg/gh/config.yml new file mode 100644 index 0000000..5d14b83 --- /dev/null +++ b/xdg/gh/config.yml @@ -0,0 +1,17 @@ +# The current version of the config schema +version: 1 +# What protocol to use when performing git operations. Supported values: ssh, https +git_protocol: https +# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment. +editor: +# When to interactively prompt. This is a global config that cannot be overridden by hostname. Supported values: enabled, disabled +prompt: enabled +# A pager program to send command output to, e.g. "less". If blank, will refer to environment. Set the value to "cat" to disable the pager. +pager: +# Aliases allow you to create nicknames for gh commands +aliases: + co: pr checkout +# The path to a unix socket through which send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport. +http_unix_socket: +# What web browser gh should use when opening URLs. If blank, will refer to environment. +browser: diff --git a/xdg/nix/nix.conf b/xdg/nix/nix.conf new file mode 100644 index 0000000..c7d7291 --- /dev/null +++ b/xdg/nix/nix.conf @@ -0,0 +1 @@ +experimental-features = nix-command flakes