diff --git a/home-manager/home.nix b/home-manager/home.nix index 56fe32f..5ea3902 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -68,12 +68,23 @@ pandoc # I wish I didn't have to use it (nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font (retroarch.override { - cores = with libretro; [ snes9x mgba gambatte ]; + cores = with libretro; [ + snes9x + mgba + gambatte + flycast + genesis-plus-gx + mupen64plus + melonds + fceumm + ]; }) # Retroarch with cores + dolphin-emu # Gamecube/wii emulator duckstation # Playstation 1 emulator pcsx2 # Playstation 2 emulator ppsspp-sdl-wayland # Playstation portable emulator (callPackage ./modules/scripts.nix { inherit pkgs; }) # My scripts + # (callPackage ./modules/comet-gog.nix { inherit pkgs; }) # Comet for gog achievements ]; # Environmental variables I can't live without diff --git a/home-manager/modules/comet-gog.nix b/home-manager/modules/comet-gog.nix index 01a9c5d..35ce6e3 100644 --- a/home-manager/modules/comet-gog.nix +++ b/home-manager/modules/comet-gog.nix @@ -1,13 +1,16 @@ { pkgs, ... }: with pkgs; -rustPlatform.buildRustProgram rec { +rustPlatform.buildRustPackage rec { pname = "comet-gog"; version = "e313c8a"; src = fetchFromGitHub { owner = "imLinguin"; repo = "comet"; rev = "e313c8ae052dfd9a6b06c8246f83f5f34672bcaa"; - hash = "sha256-p4fDm2XdqAOBZTNuw8S29vj5U21t4eeHjtKiK6tN0AM="; + hash = "sha256-ctU9yhnlS8x4xY2iUaG7NvPJB4+vJTXzZF2llof4NyM="; + fetchSubmodules = true; }; - cargoLock.lockFile = ./Cargo.lock; + cargoLock.lockFile = src + /Cargo.lock; + buildInputs = [ protobuf ]; + PROTOC = "${protobuf}/bin/protoc"; }