refactoring home manager modules
This commit is contained in:
parent
20de142350
commit
f59d282c12
44 changed files with 0 additions and 80 deletions
39
modules/home/shell/toolset/gnupgp.nix
Normal file
39
modules/home/shell/toolset/gnupgp.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
|
||||
cfg = config.sneeuwvlok.shell.toolset.gnupg;
|
||||
in {
|
||||
options.sneeuwvlok.shell.toolset.gnupg = {
|
||||
enable = mkEnableOption "cryptographic suite";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# home.packages = with pkgs; [ gnupg ];
|
||||
|
||||
# home.sessionVariables.GNUPGHOME = "$XDG_CONFIG_HOME/gnupg";
|
||||
|
||||
# programs.gnupg = {
|
||||
# enable = true;
|
||||
|
||||
# agent = {
|
||||
# enable = true;
|
||||
# enableSSHSupport = true;
|
||||
# pinentryPackage = pkgs.pinentry-gnome3;
|
||||
|
||||
# settings = let
|
||||
# cacheTTL = 86400;
|
||||
# in {
|
||||
# default-cache-ttl = cacheTTL;
|
||||
# default-cache-ttl-ssh = cacheTTL;
|
||||
# max-cache-ttl = cacheTTL;
|
||||
# max-cache-ttl-ssh = cacheTTL;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue