From 8d65521fad378653695ede1e79e40df0b86f414b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milena=20-=20=E4=B8=80=E7=A9=97=E7=81=AF=E8=8A=B1?= <102890144+YisuiDenghua@users.noreply.github.com> Date: Thu, 30 Jun 2022 16:54:44 +0800 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 72b258be..fa4e6248 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,19 @@ pip install hyfetch Currently, these distributions have existing packages for HyFetch: * ArchLinux: `yay -S hyfetch` (Thanks to @ Aleksana) -* NixOS: `nix-env -i hyfetch` ([In Progress](https://github.com/NixOS/nixpkgs/pull/170309)) +* Nix (Nixpkgs): `nix-env -i hyfetch` ([In Progress](https://github.com/NixOS/nixpkgs/pull/170309)) +* Nix (NUR): ([In Progress](https://github.com/nix-community/NUR/pull/467)) * Guix: [In progress](https://issues.guix.gnu.org/54847#8-lineno27) -Currently, if you're using NixOS, you can use HyFetch with `nix-env -if https://github.com/hykilpikonna/hyfetch/tarball/master -A hyfetch` +Currently, if you're using Nix the package manager or NixOS, you can use HyFetch with `nix-env -if https://github.com/hykilpikonna/hyfetch/tarball/master -A hyfetch` +> Now `hyfetch` is available in our NixOS-CN's flake. You can add ([NixOS-CN](https://github.com/nixos-cn/flakes)) in your ([Nix Flake](https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-flake.html)) at first, then install package `hyfetch`. +``` +#flake.nix + + environment.systemPackages = + [ nixos-cn.legacyPackages.${system}.netease-cloud-music ]; + +``` ## Usage