feat: 1password linux

This commit is contained in:
uttarayan21
2024-06-23 17:47:02 +05:30
parent f1e5322784
commit 3c116b76ce
2 changed files with 5 additions and 1 deletions

View File

@@ -181,7 +181,10 @@ in {
pull = {
rebase = true;
};
"gpg \"ssh\"".program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
"gpg \"ssh\"".program =
if pkgs.stdenv.isDarwin
then "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
else "${pkgs._1password-gui}/share/1password/op-ssh-sign";
};
};
nix-index = {