dots/overlays/default.nix

26 lines
951 B
Nix

{ inputs, ... }:
{
additions = final: _prev: import ../pkgs { pkgs = final; };
modifications = final: prev: {
waybar = inputs.waybar.packages.${final.system}.default;
lxappearance = prev.lxappearance.overrideAttrs (oldAttrs: {
postInstall = ''
wrapProgram $out/bin/lxappearance --prefix GDK_BACKEND : x11
'';
});
wezterm = inputs.wezterm.packages.${final.system}.default;
opensnitch-ui = prev.opensnitch-ui.overrideAttrs (oldAttrs: {
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ prev.python311Packages.qt-material ];
});
age-plugin-yubikey = prev.age-plugin-yubikey.overrideAttrs (oldAttrs: {
nativeBuildInputs = oldAttrs.nativeBuildInputs or [ ] ++ [ final.makeWrapper ];
postInstall =
oldAttrs.postInstall or ""
+ ''
wrapProgram $out/bin/age-plugin-yubikey --prefix LD_LIBRARY_PATH : ${final.pcsclite.lib}/lib
'';
});
};
}