MartijnVogelaar / krunner-spotify

Allows you to easily control Spotify via KRunner.
GNU General Public License v3.0
42 stars 6 forks source link

Package for Nix / NixOS #33

Open pinage404 opened 4 months ago

pinage404 commented 4 months ago

Hello,

Thanks for this project !

For your information, i have packaged it for Nix / NixOS for my personal use (like i did for vscode-runner https://github.com/Merrit/vscode-runner/issues/16)

I hope someone will reuse it to make it available to more people!


Nix is designed to be declarative and highly reproducible with configuration files

It uses files to describe the desired configuration, and then we execute commands to apply that configuration

The easiest way to install it would be to add this to the configuration

{
   environment.systemPackages = [
      (builtins.getFlake "gitlab:pinage404/dotfiles/6765c5538849713f05d04a3a7de8fb5bb04be64f").packages.x86_64-linux.krunner-spotify # add a package without overlay and without flake
   ];
}

I have tried to document it here with a more common (but also more verbose) installation method


Feel free to close this issue