darwin fixes

This commit is contained in:
2025-08-20 00:18:31 -07:00
parent 418e434610
commit 20c78889d3
2 changed files with 7 additions and 4 deletions

View File

@@ -25,6 +25,13 @@
extraConfig = { extraConfig = {
gpg = { gpg = {
format = "ssh"; format = "ssh";
ssh = {
program = if hostname == "eva-02"
then
"/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
else
"/usr/bin/op-ssh-sign";
};
}; };
}; };
}; };

View File

@@ -23,10 +23,6 @@
rebuild = "sudo nixos-rebuild switch --flake /etc/nixos#$(uname -n)"; rebuild = "sudo nixos-rebuild switch --flake /etc/nixos#$(uname -n)";
}; };
envExtra = ''
#eval $(thefuck --alias)
'';
# profileExtra = '' # profileExtra = ''
# export SSH_AUTH_SOCK=~/.1password/agent.sock # export SSH_AUTH_SOCK=~/.1password/agent.sock
# ''; # '';