darwin fixes
This commit is contained in:
@@ -14,13 +14,18 @@
|
||||
} // lib.optionalAttrs (! (lib.elem hostname [ "buildbox" ])) {
|
||||
signing = {
|
||||
signByDefault = true;
|
||||
signer = "/opt/1Password/op-ssh-sign";
|
||||
signer = if hostname != "eva-02"
|
||||
then
|
||||
"/opt/1Password/op-ssh-sign"
|
||||
else
|
||||
"/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
|
||||
|
||||
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHI7zcxrwwg4VqpGduhPX31aslzXwkRXiM32+8K+aIMu";
|
||||
};
|
||||
extraConfig = {
|
||||
gpg = {
|
||||
format = "ssh";
|
||||
program = lib.mkIf (hostname == "eva-02") "/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
|
||||
# program = lib.mkIf (hostname == "eva-02") "/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user