added custom pkgs and yuzu
This commit is contained in:
parent
91d1e9cc77
commit
a1e1db21ec
5 changed files with 43 additions and 0 deletions
|
@ -75,6 +75,7 @@
|
||||||
attrs.nixos-hardware.nixosModules.framework-12th-gen-intel
|
attrs.nixos-hardware.nixosModules.framework-12th-gen-intel
|
||||||
./hosts
|
./hosts
|
||||||
./users/willifan
|
./users/willifan
|
||||||
|
./pkgs
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -105,6 +106,7 @@
|
||||||
attrs.nixos-hardware.nixosModules.common-cpu-amd-zenpower
|
attrs.nixos-hardware.nixosModules.common-cpu-amd-zenpower
|
||||||
./hosts
|
./hosts
|
||||||
./users/willifan
|
./users/willifan
|
||||||
|
./pkgs
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -135,6 +137,7 @@
|
||||||
attrs.nixos-hardware.nixosModules.common-cpu-amd-zenpower
|
attrs.nixos-hardware.nixosModules.common-cpu-amd-zenpower
|
||||||
./hosts
|
./hosts
|
||||||
./users/willifan
|
./users/willifan
|
||||||
|
./pkgs
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -163,6 +166,7 @@
|
||||||
attrs.jovian.nixosModules.default
|
attrs.jovian.nixosModules.default
|
||||||
./hosts
|
./hosts
|
||||||
./users/willifan
|
./users/willifan
|
||||||
|
./pkgs
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
6
pkgs/default.nix
Normal file
6
pkgs/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
nixpkgs.config.packageOverrides = pkgs: {
|
||||||
|
yuzu = pkgs.callPackage ./yuzu { };
|
||||||
|
};
|
||||||
|
}
|
26
pkgs/yuzu/default.nix
Normal file
26
pkgs/yuzu/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
appimageTools,
|
||||||
|
fetchurl,
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
pname = "yuzu";
|
||||||
|
version = "4176";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://files.huwe.mooo.com/yuzu.AppImage";
|
||||||
|
hash = "sha256-bUTVL8br2POy5HB1FszlNQNChdRWcwIlG6/RCceXIlg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
appimageContents = appimageTools.extract {
|
||||||
|
inherit pname version src;
|
||||||
|
};
|
||||||
|
|
||||||
|
in
|
||||||
|
appimageTools.wrapType2 {
|
||||||
|
inherit pname version src;
|
||||||
|
extraInstallCommands = ''
|
||||||
|
install -m 444 -D ${appimageContents}/org.yuzu_emu.yuzu.desktop $out/share/applications/irccloud.desktop
|
||||||
|
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/scalable/apps/org.yuzu_emu.yuzu.svg \
|
||||||
|
$out/share/icons/hicolor/scalable/apps/org.yuzu_emu.yuzu.svg
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
./ROG_Pugio_II_fixes.nix
|
./ROG_Pugio_II_fixes.nix
|
||||||
./steam.nix
|
./steam.nix
|
||||||
./tetrio.nix
|
./tetrio.nix
|
||||||
|
./yuzu.nix
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
6
users/willifan/desktop/games/yuzu.nix
Normal file
6
users/willifan/desktop/games/yuzu.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
yuzu
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue