trying to add miku-cursor pkg

This commit is contained in:
Harry 2025-01-20 16:35:09 +01:00
parent 7cd9906bc1
commit d9d7ee2ac3
2 changed files with 19 additions and 0 deletions

View file

@ -56,6 +56,9 @@
inherit secrets;
inherit inputs;
};
system = "x86_64-linux";
pkgs = import nixpkgs {inherit system;};
in
{
nixosConfigurations = {
@ -158,5 +161,8 @@
# Expose the package set, including overlays, for convenience.
darwinPackages = self.darwinConfigurations."iMac-de-Eddie".pkgs;
defaultPackage.x86_64-linux = pkgs.callPackage ./packages/miku-cursor.nix {};
};
}

13
packages/miku-cursor.nix Normal file
View file

@ -0,0 +1,13 @@
{stdenv, fetchFromGitHub}:
stdenv.mkDerivation {
pname = "miku-cursor-linux";
version = "1.2.6";
src = fetchFromGitHub {
owner = "supermariofps";
repo = "hatsune-miku-windows-linux-cursors";
rev = "v${1.2.6}";
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
};
}