mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-01-09 14:28:04 -05:00
Improve package counting for NixOS
This commit is contained in:
@@ -1368,7 +1368,7 @@ detectpkgs () {
|
||||
'Gentoo'|'Sabayon'|'Funtoo'|'Kogaion')
|
||||
pkgs=$(ls -d /var/db/pkg/*/* | wc -l) ;;
|
||||
'NixOS')
|
||||
pkgs=$(ls -d -1 /nix/store/*/ | wc -l) ;;
|
||||
pkgs=$(nix path-info -r /run/current-system | wc -l) ;;
|
||||
'Guix System')
|
||||
pkgs=$(guix package --list-installed | wc -l) ;;
|
||||
'ALDOS'|'Fedora'|'Fux'|'Korora'|'BLAG'|'Chapeau'|'openSUSE'|'SUSE Linux Enterprise'|'Red Hat Enterprise Linux'| \
|
||||
|
||||
Reference in New Issue
Block a user