Compare commits
No commits in common. "bb9f35e9603db74f4b7be43f0b5ebd950d8b56b9" and "2eb19d7374c6a2f1a3df34c62d071a23cddacb7c" have entirely different histories.
bb9f35e960
...
2eb19d7374
1 changed files with 4 additions and 28 deletions
|
|
@ -1,31 +1,7 @@
|
||||||
{pkgs, ...}: let
|
{pkgs, ...}: {
|
||||||
ps2-isos = [
|
|
||||||
(pkgs.fetchzip {
|
|
||||||
url = "https://myrient.erista.me/files/Redump/Sony%20-%20PlayStation%202/007%20-%20Nightfire%20%28USA%29.zip";
|
|
||||||
hash = "sha256-66Ey0SqC3Tk02Af+xR6rpxYSkO0n83NWYPCt4M3CUWo=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
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-manager.users.toast = {
|
||||||
home = {
|
home.packages = with pkgs; [
|
||||||
packages = with pkgs; [
|
|
||||||
pcsx2
|
pcsx2
|
||||||
];
|
];
|
||||||
file."Games/Isos/PS2".source = pkgs.symlinkJoin {
|
|
||||||
name = "ps2-isos";
|
|
||||||
paths = [ps2-isos];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
xdg.dataFile = {
|
|
||||||
# I would prefer to use symlinkJoin like I do for the ISOs, but
|
|
||||||
# the bios folder needs to be writable to store the bios settings
|
|
||||||
"PCSX2/bios/ntsc.bin".source = pkgs.runCommandLocal "pcsx2-bios" {} ''
|
|
||||||
cp -v ${pcsx2-bios}/*.bin $out
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue