From d9d7ee2ac3a2569176da8db984eaa62666c587a6 Mon Sep 17 00:00:00 2001 From: harry123 Date: Mon, 20 Jan 2025 16:35:09 +0100 Subject: [PATCH] trying to add miku-cursor pkg --- flake.nix | 6 ++++++ packages/miku-cursor.nix | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 packages/miku-cursor.nix diff --git a/flake.nix b/flake.nix index edd13df..c6d461c 100644 --- a/flake.nix +++ b/flake.nix @@ -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 {}; }; + } diff --git a/packages/miku-cursor.nix b/packages/miku-cursor.nix new file mode 100644 index 0000000..022e5a1 --- /dev/null +++ b/packages/miku-cursor.nix @@ -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="; + }; + +}