mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Overlays+Gaming] add a lutris-fhs overlay
This commit is contained in:
parent
26edc918c0
commit
b3bf3716ca
1 changed files with 27 additions and 0 deletions
27
overlays.nix
27
overlays.nix
|
|
@ -73,6 +73,33 @@ in
|
|||
linux-manual = prev.linux-manual.override { linuxPackages_latest = config.boot.kernelPackages; };
|
||||
})
|
||||
|
||||
(final: prev: {
|
||||
lutris-fhs =
|
||||
(prev.buildFHSUserEnv {
|
||||
name = "lutris";
|
||||
targetPkgs = pkgs: (with pkgs;
|
||||
[
|
||||
glibc
|
||||
bashInteractive
|
||||
|
||||
python3Full
|
||||
|
||||
lutris
|
||||
gamescope
|
||||
wineWowPackages.waylandFull
|
||||
flatpak
|
||||
]
|
||||
);
|
||||
|
||||
# symlink shared assets, including icons and desktop entries
|
||||
extraInstallCommands = ''
|
||||
ln -s "${pkgs.lutris}/share" "$out/"
|
||||
'';
|
||||
|
||||
runScript = "/usr/bin/lutris";
|
||||
});
|
||||
})
|
||||
|
||||
(final: prev: {
|
||||
jetbrains = prev.jetbrains // {
|
||||
pycharm-professional-fhs = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue