Initial commit
This commit is contained in:
33
modules/hm/gpg.nix
Normal file
33
modules/hm/gpg.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
osConfig,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs = {
|
||||
gpg = {
|
||||
mutableKeys = false;
|
||||
mutableTrust = false;
|
||||
publicKeys = [
|
||||
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
gpg-agent = {
|
||||
enable = config.programs.gpg.enable;
|
||||
enableFishIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
enableSshSupport = true;
|
||||
enableScDaemon = true;
|
||||
# pinentryPackage = pkgs.pinentry-qt;
|
||||
extraConfig = lib.mkIf osConfig.services.desktopManager.plasma6.enable ''
|
||||
pinentry-program ${pkgs.kwalletcli}/bin/pinentry-kwallet
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user