This commit is contained in:
Matthew Bessette
2026-04-04 22:52:00 -04:00
parent 0ba3dbd3b4
commit 20dd66e618
2 changed files with 20 additions and 1 deletions

View File

@@ -41,6 +41,7 @@
casks = [ casks = [
"1password" "1password"
"iterm2" "iterm2"
"moonlight"
"obsidian" "obsidian"
"signal" "signal"
"spotify" "spotify"

View File

@@ -56,7 +56,7 @@
]; ];
initContent = '' initContent = ''
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BU8OCWD5C.com.1password/t/agent.sock export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
# Auto-allow direnv for directories with flake.nix # Auto-allow direnv for directories with flake.nix
auto_allow_direnv() { auto_allow_direnv() {
@@ -94,6 +94,24 @@
prefix=${config.home.homeDirectory}/.npm-global prefix=${config.home.homeDirectory}/.npm-global
'' ; '' ;
home.file.".config/1Password/ssh/agent.toml".source = ./config.agent.toml;
programs.ssh = {
enable = true;
matchBlocks = {
"thiccdata.io" = {
hostname = "192.168.1.45";
user = "mbessette";
port = 2222;
};
"*" = {
extraOptions = {
"IdentityAgent" = "\"~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock\"";
};
};
};
};
programs.git = { programs.git = {
enable = true; enable = true;