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="; + }; + +}