mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 03:37:18 +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"];
|
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 = {
|
programs.zsh.shellAliases = {
|
||||||
drs = "nix run nix-darwin -- switch --flake ${config.home.homeDirectory}/.config/dotfiles.nix#";
|
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#";
|
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 = ''
|
home.file.".config/nixpkgs/config.nix".text = ''
|
||||||
# -*-nix-*-
|
# -*-nix-*-
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
defaultCacheTtl = 30;
|
defaultCacheTtl = 30;
|
||||||
maxCacheTtl = 600;
|
maxCacheTtl = 600;
|
||||||
pinentryFlavor = "tty";
|
pinentryFlavor = "curses";
|
||||||
};
|
};
|
||||||
|
|
||||||
emacs = {
|
emacs = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue