Fix gnupg option usage

This commit is contained in:
Charlotte Van Petegem 2024-03-13 09:49:35 +01:00
parent ab4bbca3de
commit cd290f69b9
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
{
options.chvp.graphical.gnupg = {
@ -22,7 +22,7 @@
];
programs.gnupg.agent = {
enable = true;
pinentryFlavor = config.chvp.graphical.gnupg.pinentryFlavor;
pinentryPackage = pkgs."pinentry-${config.chvp.graphical.gnupg.pinentryFlavor}";
};
home-manager.users.charlotte = { lib, ... }: {
home.activation.fixPermissionsCommands = lib.hm.dag.entryAfter [ "writeBoundary" ] ''