1
0
Fork 0

Install pass-otp

This commit is contained in:
Malte Brandy 2020-12-03 23:05:01 +01:00
parent ffc052d478
commit 52ea357c80
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -1,5 +1,4 @@
{ pkgs, config, lib, ... }:
{
{ pkgs, config, lib, ... }: {
imports = [
./zsh
@ -31,7 +30,7 @@
};
password-store = {
package = pkgs.pass-wayland.withExtensions
(exts: [ exts.pass-update pkgs.pass-clip ]);
(exts: [ exts.pass-update pkgs.pass-clip pkgs.pass-otp ]);
enable = true;
settings.PASSWORD_STORE_DIR =
"${config.home.homeDirectory}/git/password-store";
@ -39,7 +38,8 @@
git = {
aliases = {
sync = "!git pull -r && git push";
cpr = "!f() { git fetch origin refs/pull/$1/head && git checkout FETCH_HEAD; }; f";
cpr =
"!f() { git fetch origin refs/pull/$1/head && git checkout FETCH_HEAD; }; f";
};
extraConfig.pull.ff = "only";
extraConfig.core.editor = "nvim";
@ -84,8 +84,7 @@
controlMaster = "auto";
controlPersist = "120";
enable = true;
matchBlocks = let
agHost = "fb04217.mathematik.tu-darmstadt.de";
matchBlocks = let agHost = "fb04217.mathematik.tu-darmstadt.de";
in {
athene.hostname = "192.168.178.22";
git-auto = {