laptop config, flakes config (#1)

Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2023-08-11 18:59:35 -04:00
parent 18adcedbbf
commit 72c822cd29
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;
};
};
}