fix: revert zellij-ps workaround, remove nixpkgs.config (useGlobalPkgs handles it)
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
# Zellij-ps — project-aware Zellij session manager.
|
||||
# Installs the zellij-ps package directly and sets project folders.
|
||||
# Note: Does NOT use the m3ta-nixpkgs cli.zellij-ps module to avoid
|
||||
# overlay dependency issues when m3ta-home is used standalone.
|
||||
# Zellij-ps — project-aware Zellij session manager from m3ta-nixpkgs.
|
||||
# Delegates to `cli.zellij-ps` — the home-manager module namespace provided by
|
||||
# m3ta-nixpkgs. Requires m3ta-nixpkgs overlays to be applied to pkgs
|
||||
# (via home-manager.useGlobalPkgs = true in NixOS, or overlays in standalone).
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
@@ -24,9 +22,9 @@ in {
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = [
|
||||
(inputs.m3ta-nixpkgs.packages.${pkgs.stdenv.hostPlatform.system}.zellij-ps or pkgs.zellij-ps)
|
||||
];
|
||||
home.sessionVariables.PROJECT_FOLDERS = lib.concatStringsSep ":" (map toString cfg.projectFolders);
|
||||
cli.zellij-ps = {
|
||||
enable = true;
|
||||
projectFolders = cfg.projectFolders;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user