Skip to content

Commit

Permalink
fix: fix cavalier
Browse files Browse the repository at this point in the history
  • Loading branch information
Suya1671 committed Jun 4, 2024
1 parent 1fb31bc commit 439d5d1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
2 changes: 2 additions & 0 deletions systems/modules/core/opengl.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
vaapiVdpau
libvdpau-va-gl
nvidia-vaapi-driver
libGL
];
setLdLibraryPath = true;
};
};
}
9 changes: 9 additions & 0 deletions users/modules/niri.nix
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,15 @@ in {
];
default-column-width = {};
}

{
matches = [
{
app-id = "^org.nickvision.cavalier$";
}
];
draw-border-with-background = false;
}
{
geometry-corner-radius = {
bottom-left = 12.0;
Expand Down
16 changes: 15 additions & 1 deletion users/tntman/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,21 @@
thunderbird # email go brrr
fragments # for torrenting... :cluelesser:

cavalier # le music vis
(pkgs.cavalier.overrideAttrs (old: rec {
runtimeDeps = old.runtimeDeps ++ [
pkgs.libGL
pkgs.mesa_drivers
];

nativeBuildInputs = old.nativeBuildInputs ++ [
pkgs.makeWrapper
];

postFixup = ''
wrapProgram $out/bin/NickvisionCavalier.GNOME \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath runtimeDeps}
'';
})) # le music vis
cava # le dep for le music vis
sptlrx # funni lyrics

Expand Down

0 comments on commit 439d5d1

Please sign in to comment.