nixos-config/overlays/default.nix

52 lines
1.5 KiB
Nix
Raw Normal View History

2023-06-22 14:34:05 +02:00
_final: prev:
let
inherit (prev) callPackage;
2023-07-27 23:25:08 +02:00
inherit (prev) fetchFromGitHub;
2023-06-22 14:34:05 +02:00
in
{
wpa_supplicant_gui = prev.wpa_supplicant_gui.overrideAttrs
(old: {
# better desktop application name. "wpa_gui" kinda sucks
postInstall = old.postInstall + ''
substituteInPlace $out/share/applications/wpa_gui.desktop --replace "Name=wpa_gui" "Name=Manage Wifi"
'';
});
pcmanfm = prev.pcmanfm.overrideAttrs (_: {
# remove deskop preferences shortcut
postInstall = ''
rm $out/share/applications/pcmanfm-desktop-pref.desktop
'';
});
wdisplays = prev.wdisplays.overrideAttrs (_: {
# better desktop application name.
postInstall = ''
substituteInPlace $out/share/applications/network.cycles.wdisplays.desktop --replace "Name=wdisplays" "Name=Manage Displays"
'';
});
pww = callPackage ../pkgs/pww { };
2023-07-27 23:25:08 +02:00
crowdsec = prev.crowdsec.overrideAttrs (old: rec {
version = "1.5.2";
src = fetchFromGitHub {
owner = "crowdsecurity";
repo = old.pname;
rev = "v${version}";
hash = "sha256-260+XsRn3Mm/zCSvfEcBQ6j715KV4t1Z0CvXdriDzCs=";
};
# subPackages = [
# "cmd/crowdsec"
# "cmd/crowdsec-cli"
# "plugins/notifications/email/main.go"
# ];
});
2023-07-20 21:35:12 +02:00
crowdsec-firewall-bouncer = callPackage ../pkgs/crowdsec-firewall-bouncer { };
2023-07-27 23:25:08 +02:00
gnome-break-timer = callPackage ../pkgs/gnome-break-timer { };
2023-06-22 14:34:05 +02:00
jmri = callPackage ../pkgs/jmri { };
adguardian-term = callPackage ../pkgs/adguardian-term { };
}