Compare commits

..

3 Commits

4 changed files with 33 additions and 10 deletions

View File

@ -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

View File

@ -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";
}

View File

@ -20,16 +20,15 @@ remove_file() {
fi
}
if [ $# -ne 2 ]; then
if [ $# -eq 1 ]; then
open_file "$1"
exit 0
elif [ $# -ne 2 ]; then
echo "You need to provide action and file name."
exit 1
fi
case "$1" in
edit)
open_file "$2"
exit 0
;;
rm)
remove_file "$2"
exit 0

View File

@ -148,7 +148,17 @@
ipafont
ryzenadj
wineWowPackages.staging
lutris
(lutris.override {
extraPkgs = pkgs:
[
libnotify # For when something fails
];
extraLibraries = pkgs: [
# Dead cells dependency's
xorg.libXScrnSaver
hashlink
];
})
cryptsetup
xfsprogs
(catppuccin-kde.override { winDecStyles = [ "classic" "modern" ]; })