packages: add support for nixos
This commit is contained in:
parent
ae5a10c00d
commit
731b3a62c8
1 changed files with 6 additions and 0 deletions
6
pfetch
6
pfetch
|
@ -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*)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue