diff options
| author | Fuwn <[email protected]> | 2024-10-24 04:36:12 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-24 04:36:12 +0000 |
| commit | 61fa8bc762095531699509a63b1d16be04323b19 (patch) | |
| tree | 463736801f15e53a7b8a7f44c938f43a257b2554 /README.md | |
| download | cider.nix-61fa8bc762095531699509a63b1d16be04323b19.tar.xz cider.nix-61fa8bc762095531699509a63b1d16be04323b19.zip | |
feat: initial release
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..0c5d928 --- /dev/null +++ b/README.md @@ -0,0 +1,78 @@ +# 🍎 `cider.nix` + +> Home Manager module for [Cider](https://cider.sh/), a cross-platform Apple Music +experience written from the ground up with performance in mind + +## Installation + +### Standalone Home Manager + +Directly add `cider.nix` as a Home Manager input. + +```nix +{ 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 + +1. Add `cider.nix` to your flake inputs. + + ```nix + { + inputs.cider = { + url = "github:Fuwn/cider.nix"; + inputs.nixpkgs.follows = "nixpkgs"; # Recommended + }; + } + ``` + +2. Consume `cider.nix` as a Home Manager module. + + ```nix + # ... + + inputs.home-manager.lib.homeManagerConfiguration { + modules = [ + inputs.cider.homeManagerModules.${pkgs.system}.default + ]; + }; + + # ... + ``` + +## Configuration & Usage + +After [purchasing Cider](https://cider.sh/downloads/client), download and place +the provided AppImage near your Home Manager configuration. Configure and access +`cider.nix` through the `programs.cider` attribute. + +```nix +{ pkgs, config, ... }: +{ + 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](./LICENSE.txt). |