Jump to content

1Password: Difference between revisions

imported from old wiki
(imported from old wiki)
Line 22: Line 22:
}
}
</nowiki>}}
</nowiki>}}


== Unlocking Browser Extensions ==
== Unlocking Browser Extensions ==
Line 62: Line 64:
           IdentityAgent ${onePassPath}
           IdentityAgent ${onePassPath}
     '';
     '';
  };
}
</syntaxhighlight>
== 1Password with Git Ssh Signing ==
You can enable git ssh singing with [https://nix-community.github.io/home-manager/index.xhtml Home Manager]:
<syntaxhighlight lang="nix">
{
  programs.git = {
    enable = true;
    extraConfig = {
      gpg = {
        format = "ssh";
      };
      "gpg \"ssh\"" = {
        program = "${lib.getExe' pkgs._1password-gui "op-ssh-sign"}";
      };
      commit = {
        gpgsign = true;
      };
      user = {
        signingKey = "...";
      };
    };
   };
   };
}
}