zellij: init
This commit is contained in:
parent
9b49d467e8
commit
9a7cb95be8
2 changed files with 171 additions and 7 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue