nixos/gnupg: use nixos modle options
This commit is contained in:
parent
17a8b2353c
commit
0cc888cb86
1 changed files with 8 additions and 4 deletions
|
@ -5,11 +5,15 @@
|
||||||
# Use pcscd for smartcard support
|
# Use pcscd for smartcard support
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = [(
|
programs.gnupg = {
|
||||||
pkgs.gnupg.overrideAttrs (superAttrs: {
|
package = pkgs.gnupg.overrideAttrs (superAttrs: {
|
||||||
configureFlags = superAttrs.configureFlags or []
|
configureFlags = superAttrs.configureFlags or []
|
||||||
++ [ "--disable-ccid-driver" ];
|
++ [ "--disable-ccid-driver" ];
|
||||||
})
|
});
|
||||||
)];
|
agent = {
|
||||||
|
enable = true;
|
||||||
|
pinentryPackage = pkgs.pinentry-qt;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue