From 7310c1dadf88cfac6cec01ca6cc4cb3914a8c319 Mon Sep 17 00:00:00 2001 From: Leonard Sheng Sheng Lee <305414+sheeeng@users.noreply.github.com> Date: Mon, 15 Dec 2025 13:20:26 +0100 Subject: [PATCH] fix(nix): deprecated attributes Fix https://github.com/1Password/shell-plugins/issues/546. Fix evaluation warning: `programs.zsh.initExtra` is deprecated, use `programs.zsh.initContent` instead. See also https://nix-community.github.io/home-manager/options.xhtml\#opt-programs.zsh.initContent. Signed-off-by: Leonard Sheng Sheng Lee <305414+sheeeng@users.noreply.github.com> --- nix/shell-plugins.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/shell-plugins.nix b/nix/shell-plugins.nix index 2269814b..ffcc0842 100644 --- a/nix/shell-plugins.nix +++ b/nix/shell-plugins.nix @@ -105,7 +105,7 @@ in # for the Bash and Zsh home-manager modules, # the initExtra option is equivalent to Fish's interactiveShellInit bash.initExtra = strings.concatStringsSep "\n" posixFunctions; - zsh.initExtra = strings.concatStringsSep "\n" posixFunctions; + zsh.initContent = mkOrder 1000 (strings.concatStringsSep "\n" posixFunctions); }; home = { inherit packages;