home.workmac: enable 1Password SSH agent integration

This commit is contained in:
Trolli Schmittlauch 2024-07-25 16:19:46 +02:00
parent 90f5fa3de8
commit 85147a4fd6

View file

@ -3,6 +3,7 @@
inputs,
config,
system,
lib,
...
}:
@ -30,15 +31,20 @@ in
enable = true;
# ssh host config
matchBlocks = {
"hydra01" = {
"*" = {
extraOptions.IdentityAgent = "\"~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock\"";
};
"hydra01" = lib.hm.dag.entryAfter ["*"] {
hostname = "hydra01.access.whq.gocept.net";
user = "os";
};
"fcio-whq-jump" = {
"fcio-whq-jump" = lib.hm.dag.entryAfter ["*"] {
hostname = "vpn-whq.services.fcio.net";
extraOptions.LogLevel = "Verbose";
};
"fcio-rzob-jump" = {
"fcio-rzob-jump" = lib.hm.dag.entryAfter ["*"] {
hostname = "vpn-rzob.services.fcio.net";
};
};