1
0
Fork 0

Fix paswordstore on hera

This commit is contained in:
Malte Brandy 2020-05-22 15:45:07 +02:00
parent 6ea622e8b1
commit e679f74c21
3 changed files with 6 additions and 1 deletions

View file

@ -15,7 +15,7 @@ in {
./mpclient.nix
./neovim
];
services.gpg-agent = { enable = true; };
services.gpg-agent.enable = true;
programs = {
home-manager.enable = true;
@ -37,6 +37,7 @@ in {
package = pkgs.pass-wayland.withExtensions
(exts: [ exts.pass-update pkgs.pass-clip ]);
enable = true;
settings.PASSWORD_STORE_DIR = "${config.home.homeDirectory}/git/password-store";
};
git = {
aliases = { sync = "!git pull -r && git push"; };

3
home/headless.nix Normal file
View file

@ -0,0 +1,3 @@
{ pkgs, ... }: {
services.gpg-agent.pinentryFlavor = "curses";
}

View file

@ -106,6 +106,7 @@ in {
hera = {
default = makeConfig "hera" [
./on-my-machine.nix
./headless.nix
../hosts/hera/weechat
../hosts/hera/secret
./kassandra-server.nix