A Nix flake that installs Pianoteq 7, 8, and 9 on NixOS. The license key and binary are still required and must be acquired manually from https://www.modartt.com/.
nix profile install .#pianoteq9 # Latest version with all formats# VST3 plugin only (for DAW usage)
nix profile install .#pianoteq9-vst3
# Standalone application only
nix profile install .#pianoteq9-standalone
# LV2 plugin only
nix profile install .#pianoteq9-lv2| Package | Description |
|---|---|
pianoteq9 |
Default - Full version (Standalone + VST3 + LV2) |
pianoteq9-standalone |
Standalone only |
pianoteq9-vst3 |
VST3 plugin only |
pianoteq9-lv2 |
LV2 plugin only |
pianoteq8 |
Full version (Standalone + LV2) |
pianoteq8-standalone |
Standalone only |
pianoteq8-lv2 |
LV2 plugin only |
pianoteq7 |
Full version (Standalone + LV2) |
pianoteq7-standalone |
Standalone only |
pianoteq7-lv2 |
LV2 plugin only |
Download the appropriate file from https://www.modartt.com/:
- Pianoteq 9:
pianoteq_setup_v912.tar.xz - Pianoteq 8:
pianoteq_linux_v843.7z - Pianoteq 7:
pianoteq_linux_v754.7z
nix store add-file ./downloaded-file.tar.xz# Install directly
nix profile install .#pianoteq9
# Or add to your flake inputs
inputs = {
pianoteq.url = "github:yourusername/nix-pianoteq";
};
# Install in configuration.nix or home-manager
environment.systemPackages = [
inputs.pianoteq.packages.x86_64-linux.default
];To add a new Pianoteq version:
# Download new version
wget https://www.modartt.com/download?file=pianoteq_linux_vXYZ.7z
# Add to nix store
nix store add-file ./pianoteq_linux_vXYZ.7zWhen adding a new version to the flake, generate the hash:
nix hash file --sri ./pianoteq_linux_vXYZ.7zAdd to the versions section in flake.nix:
pianoteqX = {
version = "X.Y.Z";
file = "pianoteq_linux_vXYZ.7z";
hash = "sha256-GENERATED_HASH_HERE";
compression = "7z"; # or "tar.xz"
majorVersion = "X";
hasVst3 = true/false; # Set based on actual contents
hasLv2 = true/false; # Set based on actual contents
};Linux VST3 support was introduced in Pianoteq 9; earlier versions (7 and 8) only support standalone and LV2 formats.
Pianoteq is proprietary software. Allow unfree packages:
# For single command
NIXPKGS_ALLOW_UNFREE=1 nix build .#pianoteq9 --impure
# For system-wide
# Add to configuration.nix:
{ nixpkgs.config.allowUnfree = true; }Make sure to add the downloaded file to the nix store:
nix store add-file ./pianoteq_setup_v911.tar.xzIf you get a hash mismatch error, but want to use the downloaded file anyway, regenerate the hash:
nix hash file --sri ./your-downloaded-fileThen update the hash in the versions section of flake.nix.
For easier maintenance and formatting:
nix developFormat Nix files with the built-in formatter:
nix fmt .