zellij: init

This commit is contained in:
Bloxx12 2025-05-26 10:38:15 +02:00
commit 9a7cb95be8
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
2 changed files with 171 additions and 7 deletions

View file

@ -1,12 +1,15 @@
{pkgs, ...}: let
# I am patching zellij because of this issue:
# https://github.com/zellij-org/zellij/pull/2548
patched-zellij = pkgs.zellij.overrideAttrs (old: {
patches = [./zellij-good-scrolling.patch];
doCheck = false;
});
zellij-wrapped = pkgs.symlinkJoin {
name = "zellij-wrapped";
paths = [pkgs.zellij];
nativeBuildInputs = [pkgs.makeWrapper];
postBuild = ''
wrapProgram $out/bin/zellij --add-flags "\
--config ${./config.kdl}"
'';
};
in {
environment.systemPackages = builtins.attrValues {
# inherit patched-zellij;
inherit zellij-wrapped;
};
}