laptop config, flakes config

This commit is contained in:
2023-08-11 18:57:56 -04:00
parent 18adcedbbf
commit a20395c2c1
19 changed files with 2134 additions and 97 deletions
+19
View File
@@ -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;
};
};
}