fortune cookies

This commit is contained in:
Sridhar Ratnakumar 2024-01-18 23:22:34 +05:30
parent f9c1e8804e
commit cecbdb9ffb

View file

@ -1,4 +1,4 @@
{ ... }:
{ lib, pkgs, ... }:
{
programs.zsh = {
@ -15,6 +15,10 @@
# cf. https://developer.1password.com/docs/ssh/get-started#step-4-configure-your-ssh-or-git-client
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
'';
initExtra = ''
${lib.getExe pkgs.fortune} | ${lib.getExe pkgs.charasay} say -r
'';
};
programs.nix-index.enableZshIntegration = true;