From d47a9dc8e16aac52b0ece7f27c356c63f3332c94 Mon Sep 17 00:00:00 2001 From: Mork Swork Date: Mon, 4 May 2026 14:52:47 -0700 Subject: [PATCH] Zsh fix --- nixos/linux.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nixos/linux.nix b/nixos/linux.nix index e028757..dd9e1d9 100644 --- a/nixos/linux.nix +++ b/nixos/linux.nix @@ -99,12 +99,11 @@ in { # FIXME: change your shell here if you don't want zsh programs.zsh.enable = true; - environment.pathsToLink = ["/share/zsh"]; - environment.shells = [pkgs.zsh]; - - environment.etc."profile.d/anthropic.sh".text = '' + programs.zsh.shellInit = '' export ANTHROPIC_API_KEY=$(cat ${config.age.secrets.anthropic-api-key.path}) ''; + environment.pathsToLink = ["/share/zsh"]; + environment.shells = [pkgs.zsh]; environment.enableAllTerminfo = true;