mirror of
https://github.com/semere-meb/dotfiles-nix.git
synced 2026-08-03 10:24:36 +00:00
bumped ttl for ssh and gpg to max 2-8 hours
This commit is contained in:
parent
127227205d
commit
cd6dd90ec7
2 changed files with 5 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ let
|
||||||
) (builtins.attrNames (builtins.readDir ./.));
|
) (builtins.attrNames (builtins.readDir ./.));
|
||||||
|
|
||||||
allModules = builtins.listToAttrs (
|
allModules = builtins.listToAttrs (
|
||||||
builtins.map (entry: {
|
map (entry: {
|
||||||
name = lib.strings.removeSuffix ".nix" entry;
|
name = lib.strings.removeSuffix ".nix" entry;
|
||||||
value = ./. + "/${entry}";
|
value = ./. + "/${entry}";
|
||||||
}) moduleDirectoryList
|
}) moduleDirectoryList
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,10 @@
|
||||||
home-manager.users."${userVars.username}" = {
|
home-manager.users."${userVars.username}" = {
|
||||||
services.gpg-agent = {
|
services.gpg-agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultCacheTtl = 1800;
|
defaultCacheTtl = 7200;
|
||||||
|
defaultCacheTtlSsh = 7200;
|
||||||
|
maxCacheTtl = 28800;
|
||||||
|
maxCacheTtlSsh = 28800;
|
||||||
enableSshSupport = true;
|
enableSshSupport = true;
|
||||||
pinentry.package = pkgs.pinentry-qt;
|
pinentry.package = pkgs.pinentry-qt;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue