should be the last stage
This commit is contained in:
parent
fe9a07fad0
commit
d6fe9e9f5f
6 changed files with 36 additions and 33 deletions
|
|
@ -1,4 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
rpcs3_latest,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./modules/dunst.nix
|
||||
./modules/fish.nix
|
||||
|
|
@ -30,5 +34,6 @@
|
|||
btop
|
||||
nvtopPackages.full
|
||||
arandr
|
||||
rpcs3_latest
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,12 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
rpcs3_latest = pkgs.rpcs3.overrideAttrs (oldAttrs: {
|
||||
src = inputs.rpcs3-latest;
|
||||
});
|
||||
in {
|
||||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
mgba
|
||||
desmume
|
||||
|
|
@ -18,11 +10,5 @@ in {
|
|||
retroarch
|
||||
mednafen
|
||||
joycond
|
||||
# uses latest commit, but in case of errors (if there were any in the first place) to fallback to snapshot nix package in case it failed (even if not)
|
||||
(
|
||||
if (builtins.tryEval rpcs3_latest).success
|
||||
then rpcs3_latest
|
||||
else rpcs3
|
||||
)
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue