From 6df0f8d1ab4ad3e16b9637235c8749f415c0af2f Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Fri, 10 Apr 2026 09:35:35 -0500 Subject: [PATCH] persystem wrapper --- modules/programs/zsh.nix | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/modules/programs/zsh.nix b/modules/programs/zsh.nix index 8b0f761..ddfee64 100644 --- a/modules/programs/zsh.nix +++ b/modules/programs/zsh.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: +{ self, inputs, ... }: let username = "john"; in @@ -50,16 +50,18 @@ in }; }; }; - - flake.wrappers.zsh = { pkgs, wlib, ... }: { - imports = [wlib.wrapperModules.zsh]; - extraPackages = with pkgs; [ - btop - coreutils - curl - wget - yazi - zsh - ]; + + perSystem = { pkgs, ... }: { + packages.jsl-zsh = inputs.wrapper-modules.wrappers.zsh.wrap { + inherit pkgs; + extraPackages = with pkgs; [ + btop + coreutils + curl + wget + yazi + zsh + ]; + }; }; } \ No newline at end of file