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
This commit is contained in:
vicrodh committed 2026-04-07 21:46:52 -06:00
1 parent e2fd2a11b7
commit fb7c2a440a
1 file changed
+33 -1
+33 -1
View File
@@ -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`