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 pandoc # I wish I didn't have to use it
(nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font (nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font
(retroarch.override { (retroarch.override {
cores = with libretro; [ snes9x mgba gambatte ]; cores = with libretro; [
snes9x
mgba
gambatte
flycast
genesis-plus-gx
mupen64plus
melonds
fceumm
];
}) # Retroarch with cores }) # Retroarch with cores
dolphin-emu # Gamecube/wii emulator
duckstation # Playstation 1 emulator duckstation # Playstation 1 emulator
pcsx2 # Playstation 2 emulator pcsx2 # Playstation 2 emulator
ppsspp-sdl-wayland # Playstation portable emulator ppsspp-sdl-wayland # Playstation portable emulator
(callPackage ./modules/scripts.nix { inherit pkgs; }) # My scripts (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 # Environmental variables I can't live without

View File

@ -1,13 +1,16 @@
{ pkgs, ... }: { pkgs, ... }:
with pkgs; with pkgs;
rustPlatform.buildRustProgram rec { rustPlatform.buildRustPackage rec {
pname = "comet-gog"; pname = "comet-gog";
version = "e313c8a"; version = "e313c8a";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "imLinguin"; owner = "imLinguin";
repo = "comet"; repo = "comet";
rev = "e313c8ae052dfd9a6b06c8246f83f5f34672bcaa"; 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 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." echo "You need to provide action and file name."
exit 1 exit 1
fi fi
case "$1" in case "$1" in
edit)
open_file "$2"
exit 0
;;
rm) rm)
remove_file "$2" remove_file "$2"
exit 0 exit 0

View File

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