move gnupg agent and pass store to machine module

This commit is contained in:
Dmitriy Pleshevskiy 2022-10-20 10:28:48 +03:00
parent cdc8e5fbd2
commit 6a5d318cb7
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
2 changed files with 3 additions and 7 deletions

View file

@ -4,5 +4,8 @@
programs.gnupg.agent = {
enable = true;
enableSSHSupport = config.services.openssh.enable;
pinentryFlavor = "gtk2";
};
services.passSecretService.enable = true;
}

View file

@ -15,11 +15,4 @@ in
PASSWORD_STORE_DIR = "${passDataDir}/store";
};
};
services.pass-secret-service.enable = true;
programs.gpg.enable = true;
services.gpg-agent = {
enable = true;
pinentryFlavor = "gtk2";
};
}