From 21994ed971d36369d5e5b3a0512d39b164fe98bc Mon Sep 17 00:00:00 2001 From: Tom Meagher Date: Sat, 15 Jun 2024 13:51:05 -0400 Subject: [PATCH] chore: move xcode config --- .config/nix/files/ssh/config | 10 ++++++++++ .config/nix/files/ssh/tom.pub | 1 + .../nix/files/xcode}/IDETemplateMacros.plist | 0 .config/nix/modules/home-manager.nix | 5 +++++ 4 files changed, 16 insertions(+) create mode 100644 .config/nix/files/ssh/config create mode 100644 .config/nix/files/ssh/tom.pub rename {Library/Developer/Xcode/UserData => .config/nix/files/xcode}/IDETemplateMacros.plist (100%) diff --git a/.config/nix/files/ssh/config b/.config/nix/files/ssh/config new file mode 100644 index 0000000..48fcf0d --- /dev/null +++ b/.config/nix/files/ssh/config @@ -0,0 +1,10 @@ +# Forward ssh agent to the remote machine. +ForwardAgent yes + +# Automatically add all common hosts to the host file as they are connected to. +StrictHostKeyChecking no + +# 1Password SSH Agent +# https://developer.1password.com/docs/ssh/get-started +Host * + IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock" diff --git a/.config/nix/files/ssh/tom.pub b/.config/nix/files/ssh/tom.pub new file mode 100644 index 0000000..6c2212c --- /dev/null +++ b/.config/nix/files/ssh/tom.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC/Jq1ON3FEmGqWtKwd2JML+imauO3Rfdk8J9ra8yvuxcXLT7bAOGGOKm8nETd9IVeTZMoU01yyHtrbwI3G+LG2imPrXmSgUri6MGZ/Ef5+7pUsTPStjN38mpSoMsQuxdH95vwWOZG4+pf+0PWM57B4iWHqpYn/ZHox3NG7CKYpNkfzdY9OdH00h16Z+Amapykk2CD3QHhNZSjKNf+ADcnskJCu/rSRudXKXRp6iN8Bm91xk4rYXEZg53a2Ga9o++3jCg0mep6qMEFG3CcF4sFR/mN1zxa3Q9npEagNmZ+pvjV8notbbpVsNyiv/xlpDE34FkOksmYK2vIW2LY6ClHGdDe7kcSTFdOfDmTsztlh0H/h61iE/BPMrZwqIrlqwzpP6VRxqavH2zIHusBS5NX88ee5dN8JSvLQ/BfODQv3vp+tHKLSbIi5mqhnAK4DbmYGddswSCUFvI0NPTYNZgXNmZQ0CpKPyYu0uphN8Ra3pblbTpNdeWuP5zI1NW70rkLVuaPC/OgJL4UWKKnbBKPAH/FHrkjFVvBcAH2DYYYTS+E3Iu45p9HRaZcXv2Wrhw2d9AcQcqtqV0SlITg1rxVEBn8t/pxkBL4vBkCM9YVKYWSFOQK5kpbzUmfA1R9wYTAIzD8uw6rxQdXV3KM8msaCqtlqpMLRqCuO2XoA23e+/Q== tom@meagher.co \ No newline at end of file diff --git a/Library/Developer/Xcode/UserData/IDETemplateMacros.plist b/.config/nix/files/xcode/IDETemplateMacros.plist similarity index 100% rename from Library/Developer/Xcode/UserData/IDETemplateMacros.plist rename to .config/nix/files/xcode/IDETemplateMacros.plist diff --git a/.config/nix/modules/home-manager.nix b/.config/nix/modules/home-manager.nix index 35345f3..be04ce9 100644 --- a/.config/nix/modules/home-manager.nix +++ b/.config/nix/modules/home-manager.nix @@ -56,6 +56,11 @@ target = ".ssh"; recursive = true; }; + xcode = { + source = ../files/xcode; + target = "Library/Developer/Xcode/UserData"; + recursive = true; + }; }; xdg = {