From ef7a765132173eaf9b7d9a6ea02fb68fe1744e32 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Tue, 22 Feb 2022 17:02:20 -0500 Subject: [PATCH] Basic configuration --- configs/git/.gitconfig | 10 ++++++ configs/ssh/config | 70 ++++++++++++++++++++++++++++++++++++++++++ install.conf.yaml | 16 ++++++++++ 3 files changed, 96 insertions(+) create mode 100644 configs/git/.gitconfig create mode 100644 configs/ssh/config diff --git a/configs/git/.gitconfig b/configs/git/.gitconfig new file mode 100644 index 0000000..980d51d --- /dev/null +++ b/configs/git/.gitconfig @@ -0,0 +1,10 @@ +[user] + email = ewpratten@gmail.com + name = Evan Pratten +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true +[url "ssh://git@github.com/"] + insteadOf = https://github.com/ diff --git a/configs/ssh/config b/configs/ssh/config new file mode 100644 index 0000000..bc600ad --- /dev/null +++ b/configs/ssh/config @@ -0,0 +1,70 @@ + +# Personal servers +Host rtl-netlink + HostName netlink.local + User pi + +Host rtl-compute + Hostname compute.local + User pi + +Host gw-ca-tor-01 + Hostname gw-ca-tor-01.servers.retrylife.ca + +Host hp-desktop + Hostname 10.9.0.12 + +# Github SSH adapter for restricted networks +Host github.com + HostName ssh.github.com + Port 443 + +Host gist.github.com + HostName ssh.github.com + Port 443 + +# IndustrialBrothers Internal network +Host ib-* + Hostname %h.industrialbrothers.com + IdentityFile ~/.ssh/industrialbrothers_id_ed25519 + RequestTTY force + User epratten + +Host *.industrialbrothers.com + IdentityFile ~/.ssh/industrialbrothers_id_ed25519 + +Host ib-8700k-125 + RemoteCommand powershell "& 'C:\Program Files\Git\bin\sh.exe' --login" +Host ib-8700k-139 + RemoteCommand powershell "& 'C:\Program Files\Git\bin\sh.exe' --login" + +Host ib-rfcpu-002-lnx + User evan + +Host ib-rfcpu-001-lnx + User epratten + +# Default hostnames I may encounter in the wild +Host openrepeater.local + HostName openrepeater.local + User root + StrictHostKeyChecking no + +Host raspberrypi.local + StrictHostKeyChecking no + User pi + +# Raider Robotics +Host 10.50.24.2 + StrictHostKeyChecking no + User admin + +# Sheridan +Host atlas + User prattene + RequestTTY yes + RemoteCommand ~/.local/bin/zsh --login + +Host sheridan-cpanel + User prattene + HostName cpanel.prattene.dev.fast.sheridanc.on.ca diff --git a/install.conf.yaml b/install.conf.yaml index e69de29..c1e81e7 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -0,0 +1,16 @@ +- defaults: + link: + relink: true + +- clean: ['~'] + +- link: + ~/.gitconfig: configs/git/.gitconfig + ~/.ssh/config: configs/ssh/config + +- create: + - ~/Downloads + - ~/bin + +- shell: + - [git submodule update --init --recursive, Installing submodules] \ No newline at end of file