mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-01-02 16:02:12 +01:00
packages: add support for nixos
This commit is contained in:
6
pfetch
6
pfetch
@@ -293,6 +293,12 @@ get_pkgs() {
|
|||||||
guix package -p /run/current-system/profile -I
|
guix package -p /run/current-system/profile -I
|
||||||
guix package -I
|
guix package -I
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# NIX requires two commands.
|
||||||
|
command -v nix-store && {
|
||||||
|
nix-store -q --requisites /run/current-system/sw
|
||||||
|
nix-store -q --requisites ~.nix-profile
|
||||||
|
}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Darwin*)
|
Darwin*)
|
||||||
|
|||||||
Reference in New Issue
Block a user