🍎 cider.nix
Home Manager module for Cider, a cross-platform Apple Music experience written from the ground up with performance in mind
Screenshot from cider.sh
Installation
Standalone Home Manager
Directly add cider.nix as a Home Manager input.
{ pkgs, ... }:
{
imports = [
(import (
pkgs.fetchFromGitHub {
owner = "Fuwn";
repo = "cider.nix";
rev = "..."; # Use the current commit revision hash
hash = "..."; # Use the current commit sha256 hash
}
)).homeManagerModules.${pkgs.system}.default
];
}
Flakes & Home Manager
- Add
cider.nixto your flake inputs.
nix
{
inputs.cider = {
url = "github:Fuwn/cider.nix";
inputs.nixpkgs.follows = "nixpkgs"; # Recommended
};
}
- Consume
cider.nixas a Home Manager module.
```nix # ...
inputs.home-manager.lib.homeManagerConfiguration { modules = [ inputs.cider.homeManagerModules.${pkgs.system}.default ]; };
# ... ```
Configuration & Usage
After purchasing Cider, download and place
the provided AppImage near your Home Manager configuration. Configure and access
cider.nix through the programs.cider attribute.
{
programs.cider = {
enable = true;
# This value assumes that Cider's AppImage is adjacent relative to the
# operating Nix file
path = ./Cider-linux-appimage-x64.AppImage;
};
}
Cider will now be available as the executable cider.
Licence
This project is licensed with the GNU General Public License v3.0.