Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.16 KB

File metadata and controls

59 lines (40 loc) · 1.16 KB

cliamp-flake

Nix flake for cliamp, a terminal music player by Bjarne Øverli.

Usage

Run without installing

nix run github:CarlosMendonca/cliamp-flake

Try in a temporary shell

nix shell github:CarlosMendonca/cliamp-flake
cliamp

Use in a NixOS or home-manager configuration

Add the flake as an input. To always follow the latest version:

inputs.cliamp.url = "github:CarlosMendonca/cliamp-flake";

To pin a specific version:

inputs.cliamp.url = "github:CarlosMendonca/cliamp-flake?ref=v1.21.4";

To reuse your existing nixpkgs instead of pulling in a separate one:

inputs.cliamp.inputs.nixpkgs.follows = "nixpkgs";

Then add the package:

environment.systemPackages = [ inputs.cliamp.packages.${system}.cliamp ];
# or in home-manager:
home.packages = [ inputs.cliamp.packages.${system}.cliamp ];

Build locally

git clone https://github.com/CarlosMendonca/cliamp-flake
cd cliamp-flake
nix build
./result/bin/cliamp

Current version

cliamp v1.37.1