fastfetchMinimal: move to fastfetch.minimal to allow downstream overrides

This commit is contained in:
Moraxyc
2026-05-18 00:38:55 +08:00
parent cbfdf082a0
commit 267e84e08b
3 changed files with 26 additions and 20 deletions
+25 -1
View File
@@ -42,6 +42,9 @@
yyjson,
zlib,
zfs,
fastfetch,
# Feature flags
audioSupport ? true,
brightnessSupport ? true,
@@ -272,7 +275,28 @@ stdenv.mkDerivation (finalAttrs: {
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
passthru = {
updateScript = nix-update-script { };
# finalAttrs.finalPackage.override doesnt exist
minimal = fastfetch.override {
audioSupport = false;
brightnessSupport = false;
dbusSupport = false;
enlightenmentSupport = false;
flashfetchSupport = false;
gnomeSupport = false;
imageSupport = false;
openclSupport = false;
openglSupport = false;
rpmSupport = false;
sqliteSupport = false;
terminalSupport = false;
vulkanSupport = false;
waylandSupport = false;
x11Support = false;
xfceSupport = false;
};
};
meta = {
description = "Actively maintained, feature-rich and performance oriented, neofetch like system information tool";
@@ -1,19 +0,0 @@
{ fastfetch }:
fastfetch.override {
audioSupport = false;
brightnessSupport = false;
dbusSupport = false;
enlightenmentSupport = false;
flashfetchSupport = false;
gnomeSupport = false;
imageSupport = false;
openclSupport = false;
openglSupport = false;
rpmSupport = false;
sqliteSupport = false;
terminalSupport = false;
vulkanSupport = false;
waylandSupport = false;
x11Support = false;
xfceSupport = false;
}
+1
View File
@@ -696,6 +696,7 @@ mapAliases {
fabs = throw "'fabs' has been removed due to being broken for more than a year; see RFC 180"; # Added 2026-02-05
fancontrol-gui = throw "'fancontrol-gui' has been removed due to outdated KF5 dependencies"; # Added 2026-05-01
fast-cli = throw "'fast-cli' has been removed because it was unmaintainable in nixpkgs"; # Added 2025-11-17
fastfetchMinimal = warnAlias "'fastfetchMinimal' has been renamed to 'fastfetch.minimal'" fastfetch.minimal; # Added 2026-05-18
fastJson = warnAlias "'fastJson' has been renamed to 'libfastjson'" libfastjson; # Added 2026-02-08
fastnlo_toolkit = throw "'fastnlo_toolkit' has been renamed to/replaced by 'fastnlo-toolkit'"; # Converted to throw 2025-10-27
faustPhysicalModeling = warnAlias "'faustPhysicalModeling' has been renamed to 'faust-physicalmodeling'" faust-physicalmodeling; # Added 2026-02-08