Gaming: don't add games to the store
This commit is contained in:
parent
135cd0642b
commit
62cf076375
3 changed files with 4 additions and 74 deletions
|
|
@ -2,20 +2,6 @@
|
|||
home-manager.users.toast = {
|
||||
home = {
|
||||
packages = [pkgs.cemu];
|
||||
file = {
|
||||
"Games/Isos/Wii U/Kirby and the Rainbow Paintbrush.wux".source = (
|
||||
pkgs.fetchurl {
|
||||
url = "http://dl.everest.tailscale/Wii%20U/Kirby%20and%20the%20Rainbow%20Paintbrush.wux";
|
||||
hash = "sha256-taPGf709N2p3GlqqT92+SbOeD7QNKFUfB9X5urWVQps=";
|
||||
}
|
||||
);
|
||||
"Games/Isos/Wii U/Mario Kary 8.wux".source = (
|
||||
pkgs.fetchurl {
|
||||
url = "http://dl.everest.tailscale/Wii%20U/Mario%20Kart%208.wux";
|
||||
hash = "sha256-O6lOkLUKPZi+FiEWJQQEeiEXOo+GTUecoSpGjE811k0=";
|
||||
}
|
||||
);
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,44 +3,15 @@
|
|||
lib,
|
||||
...
|
||||
}: let
|
||||
ps2-isos = pkgs.symlinkJoin {
|
||||
name = "ps2-isos";
|
||||
paths =
|
||||
lib.lists.forEach [
|
||||
(pkgs.fetchzip {
|
||||
url = "https://myrient.erista.me/files/Redump/Sony%20-%20PlayStation%202/007%20-%20Nightfire%20%28USA%29.zip";
|
||||
hash = "sha256-66Ey0SqC3Tk02Af+xR6rpxYSkO0n83NWYPCt4M3CUWo=";
|
||||
})
|
||||
(pkgs.fetchzip {
|
||||
url = "https://myrient.erista.me/files/Redump/Sony%20-%20PlayStation%202/TimeSplitters%202%20%28USA%29.zip";
|
||||
hash = "sha256-UPED4/MF9fjTOgiIJy+CSbuO9cJr3CsR/gEquY6GfsU=";
|
||||
})
|
||||
]
|
||||
compress;
|
||||
};
|
||||
|
||||
compress = iso:
|
||||
pkgs.runCommand "compressed-ps2-isos" {} ''
|
||||
mkdir $out
|
||||
cd ${iso}
|
||||
for file in ./*
|
||||
do
|
||||
${pkgs.mame-tools}/bin/chdman createdvd -i "$file" -o "$out/''${file%.iso}.chd"
|
||||
done
|
||||
'';
|
||||
|
||||
pcsx2-bios = pkgs.fetchzip {
|
||||
url = "https://myrient.erista.me/files/Redump/Sony%20-%20PlayStation%202%20-%20BIOS%20Images/ps2-0200a-20040614.zip";
|
||||
hash = "sha256-wMvswgmsKl+cJl49VlVW84tvU5Jzd+2dl07SOiUDtwA=";
|
||||
};
|
||||
in {
|
||||
home-manager.users.toast = {
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
pcsx2
|
||||
];
|
||||
file."Games/Isos/PS2".source = ps2-isos;
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
pcsx2
|
||||
];
|
||||
xdg.configFile = {
|
||||
#PCSX2 silently overwrites the symlink so I need to force it's creation
|
||||
"PCSX2/inis/PCSX2.ini".force = true;
|
||||
|
|
|
|||
|
|
@ -1,22 +1,4 @@
|
|||
{pkgs, ...}: let
|
||||
snes-roms = [
|
||||
# ActRaiser
|
||||
(pkgs.fetchzip {
|
||||
url = "https://myrient.erista.me/files/No-Intro/Nintendo%20-%20Super%20Nintendo%20Entertainment%20System/ActRaiser%20%28USA%29.zip";
|
||||
hash = "sha256-yxIL5Pqlp8xsx7wvNO1MlB8ffDjS0xpE+yrEfMj61As=";
|
||||
})
|
||||
# Kirby Super Star
|
||||
(pkgs.fetchzip {
|
||||
url = "https://myrient.erista.me/files/No-Intro/Nintendo%20-%20Super%20Nintendo%20Entertainment%20System/Kirby%20Super%20Star%20%28USA%29.zip";
|
||||
hash = "sha256-NX5OjCthf4ZiAhamclRBRk8GiMjZX3JLeShm8sQdDfc=";
|
||||
})
|
||||
# Super Mario Kart
|
||||
(pkgs.fetchzip {
|
||||
url = "https://myrient.erista.me/files/No-Intro/Nintendo%20-%20Super%20Nintendo%20Entertainment%20System/Super%20Mario%20Kart%20%28USA%29.zip";
|
||||
hash = "sha256-RLBxPBmBrXCuPdnWE07KamBNgGJ5IntQVUPeij+2HUI=";
|
||||
})
|
||||
];
|
||||
in {
|
||||
{pkgs, ...}: {
|
||||
home-manager.users.toast = {
|
||||
home = {
|
||||
packages = [
|
||||
|
|
@ -62,15 +44,6 @@ in {
|
|||
}
|
||||
)
|
||||
];
|
||||
file."Games/Roms/SNES/" = {
|
||||
onChange = ''
|
||||
${pkgs.retroarch}/bin/retroarch --scan "/home/toast/Games/Roms/SNES"
|
||||
'';
|
||||
source = pkgs.symlinkJoin {
|
||||
name = "snes-roms";
|
||||
paths = [snes-roms];
|
||||
};
|
||||
};
|
||||
};
|
||||
# Retroarch is dumb since it doesn't generate some folders (but it does for others)
|
||||
systemd.user.tmpfiles.rules = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue