laptop config, flakes config (#1)
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
|
||||
with lib;
|
||||
{
|
||||
options.modules.gpg = {
|
||||
enable = mkOption { type = types.bool; default = false; };
|
||||
openFirewall = mkOption { type = types.bool; default = false; };
|
||||
};
|
||||
|
||||
config = mkIf config.modules.gpg.enable {
|
||||
environment.systemPackages = [ pkgs.pinentry-curses ];
|
||||
services.pcscd.enable = true;
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryFlavor = "curses";
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user