fix: zellij-ps uses direct package ref instead of cli.zellij-ps module

This commit is contained in:
2026-05-02 10:05:00 +02:00
parent 16f6f4c668
commit 727dacb713

View File

@@ -1,10 +1,12 @@
# Zellij-ps — project-aware Zellij session manager from m3ta-nixpkgs. # Zellij-ps — project-aware Zellij session manager.
# Delegates to `cli.zellij-ps` — the home-manager module namespace provided by # Installs the zellij-ps package directly and sets project folders.
# m3ta-nixpkgs (inputs.m3ta-nixpkgs.nixosModules.default). This is intentional; # Note: Does NOT use the m3ta-nixpkgs cli.zellij-ps module to avoid
# `cli.*` is the convention used by m3ta-nixpkgs home-manager modules. # overlay dependency issues when m3ta-home is used standalone.
{ {
config, config,
lib, lib,
pkgs,
inputs,
... ...
}: }:
with lib; let with lib; let
@@ -22,9 +24,9 @@ in {
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
cli.zellij-ps = { home.packages = [
enable = true; (inputs.m3ta-nixpkgs.packages.${pkgs.stdenv.hostPlatform.system}.zellij-ps or pkgs.zellij-ps)
projectFolders = cfg.projectFolders; ];
}; home.sessionVariables.PROJECT_FOLDERS = lib.concatStringsSep ":" (map toString cfg.projectFolders);
}; };
} }