nix-config/modules/apps/cursor.nix

14 lines
342 B
Nix

{
runCommand,
fetchzip,
name ? "BreezX-Rosepine-Cursor",
version,
...
}:
runCommand "rosepine-cursor" {} ''
mkdir -p $out/share/icons
ln -s ${fetchzip {
url = "https://github.com/rose-pine/cursor/releases/download/v${version.version}/BreezeX-RosePine-Linux.tar.xz";
hash = version.hash;
}} $out/share/icons/${name}
''