From fb7c2a440a76c557ab8f34fe4249243baa529f83 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Tue, 7 Apr 2026 21:46:52 -0600 Subject: [PATCH] docs: add NixOS installation instructions, update snap note Add NixOS/Nix flake install instructions (system-wide + Home Manager). Update snap note since MPRIS was approved. cc --- README.md | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 749d55880..e1538788e 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ sudo snap connect qbz-player:alsa sudo snap connect qbz-player:pipewire ``` -> **Note:** MPRIS media controls (media keys, desktop integration) are currently unavailable in the Snap build due to a pending [auto-connect review from Canonical](https://forum.snapcraft.io/t/autoconnect-and-mpris-slots-request-for-qbz-player/50654/3). If you have a Snapcraft forum account, please consider supporting the request. All other installation methods have full MPRIS support. +> **Note:** After installing, connect ALSA and PipeWire interfaces for full audio support. MPRIS media keys work out of the box. ### APT Repository (Debian/Ubuntu/Mint) @@ -87,6 +87,38 @@ emerge media-sound/qbz-bin # prebuilt binary emerge media-sound/qbz # build from source ``` +### NixOS / Nix + +Add the flake input to your `flake.nix`: + +```nix +inputs.qbz.url = "github:vicrodh/qbz"; +``` + +**NixOS (system-wide):** + +```nix +{pkgs, inputs, ...}: +{ + environment.systemPackages = [ + inputs.qbz.packages.${pkgs.system}.default + ]; +} +``` + +**Home Manager:** + +```nix +{pkgs, inputs, ...}: +{ + home.packages = [ + inputs.qbz.packages.${pkgs.system}.default + ]; +} +``` + +> QBZ is also available in [nixpkgs](https://github.com/NixOS/nixpkgs) as `qbz`. + ### AppImage Download from [Releases](https://github.com/vicrodh/qbz/releases): `chmod +x QBZ.AppImage && ./QBZ.AppImage`