packages: add support for nixos

This commit is contained in:
Dylan Araps 2019-09-25 10:14:46 +03:00
parent ae5a10c00d
commit 731b3a62c8

6
pfetch
View File

@ -293,6 +293,12 @@ get_pkgs() {
guix package -p /run/current-system/profile -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*)