diff --git a/home/darwin/default.nix b/home/darwin/default.nix index 51809aa..3fb3655 100644 --- a/home/darwin/default.nix +++ b/home/darwin/default.nix @@ -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#"; diff --git a/home/default.nix b/home/default.nix index 654c43c..20e22b8 100644 --- a/home/default.nix +++ b/home/default.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-*- { diff --git a/home/linux/services.nix b/home/linux/services.nix index e8f1381..6925bd6 100644 --- a/home/linux/services.nix +++ b/home/linux/services.nix @@ -13,7 +13,7 @@ enableZshIntegration = true; defaultCacheTtl = 30; maxCacheTtl = 600; - pinentryFlavor = "tty"; + pinentryFlavor = "curses"; }; emacs = {