Add gpg and password-store to Monarch
Only set git credential.helper if using password-store
This commit is contained in:
parent
fea6517bad
commit
22929fa5d8
|
@ -21,7 +21,6 @@
|
|||
extraConfig = {
|
||||
pull.rebase = false;
|
||||
init.defaultBranch = "main";
|
||||
credential.helper = "${pkgs.gitFull}/bin/git-credential-libsecret";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
|
||||
settings.PASSWORD_STORE_DIR = "$HOME/.password-store";
|
||||
};
|
||||
git.extraConfig.credential.helper =
|
||||
"${pkgs.gitFull}/bin/git-credential-libsecret";
|
||||
};
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
username = "tux";
|
||||
homeDirectory = "/Users/${username}";
|
||||
|
@ -8,6 +8,7 @@ in {
|
|||
../../home/git
|
||||
../../home/ssh
|
||||
../../home/tui
|
||||
../../home/tmux
|
||||
../../home/alacritty
|
||||
../../home/emacs
|
||||
];
|
||||
|
@ -25,6 +26,12 @@ in {
|
|||
'';
|
||||
};
|
||||
emacs.package = pkgs.emacs29;
|
||||
gpg.enable = true;
|
||||
password-store = {
|
||||
enable = true;
|
||||
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
|
||||
settings.PASSWORD_STORE_DIR = "$HOME/.password-store";
|
||||
};
|
||||
};
|
||||
services.syncthing.enable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue