mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 19:27:17 +00:00
Fixes linux gpg-agent
This commit is contained in:
parent
6ac27127fd
commit
317a6497d0
3 changed files with 9 additions and 9 deletions
|
@ -20,6 +20,14 @@
|
|||
|
||||
programs.ssh.includes = ["/Users/willem/.colima/ssh_config"];
|
||||
|
||||
home.file.".gnupg/gpg-agent.conf" = {
|
||||
text = ''
|
||||
pinentry-program "${pkgs.pinentry.out}/bin/pinentry"
|
||||
default-cache-ttl 30
|
||||
max-cache-ttl 600
|
||||
'';
|
||||
};
|
||||
|
||||
programs.zsh.shellAliases = {
|
||||
drs = "nix run nix-darwin -- switch --flake ${config.home.homeDirectory}/.config/dotfiles.nix#";
|
||||
dbs = "nix run nix-darwin -- build --flake ${config.home.homeDirectory}/.config/dotfiles.nix#";
|
||||
|
|
|
@ -38,14 +38,6 @@ in rec {
|
|||
};
|
||||
};
|
||||
|
||||
home.file.".gnupg/gpg-agent.conf" = {
|
||||
text = ''
|
||||
pinentry-program "${pkgs.pinentry.out}/bin/pinentry"
|
||||
default-cache-ttl 30
|
||||
max-cache-ttl 600
|
||||
'';
|
||||
};
|
||||
|
||||
home.file.".config/nixpkgs/config.nix".text = ''
|
||||
# -*-nix-*-
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
enableZshIntegration = true;
|
||||
defaultCacheTtl = 30;
|
||||
maxCacheTtl = 600;
|
||||
pinentryFlavor = "tty";
|
||||
pinentryFlavor = "curses";
|
||||
};
|
||||
|
||||
emacs = {
|
||||
|
|
Loading…
Add table
Reference in a new issue