mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
beautified overlays
This commit is contained in:
parent
99432a7244
commit
2d190a8791
8 changed files with 51 additions and 22 deletions
33
overlays/default.nix
Normal file
33
overlays/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
_final: prev:
|
||||
let
|
||||
inherit (prev) callPackage;
|
||||
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 { };
|
||||
jmri = callPackage ../pkgs/jmri { };
|
||||
adguardian-term = callPackage ../pkgs/adguardian-term { };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue