forked from Jovian-Experiments/Jovian-NixOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
overlay.nix
61 lines (52 loc) · 1.96 KB
/
overlay.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
final: super:
let
inherit (final)
kernelPatches
linuxPackagesFor
;
in
rec {
linux-firmware = final.callPackage ./pkgs/linux-firmware {
linux-firmware = super.linux-firmware;
};
linuxPackages_jovian = linuxPackagesFor final.linux_jovian;
linux_jovian = super.callPackage ./pkgs/linux-jovian {
kernelPatches = [
kernelPatches.bridge_stp_helper
kernelPatches.request_key_helper
kernelPatches.export-rt-sched-migrate
];
};
gamescope = final.callPackage ./pkgs/gamescope {
gamescope' = super.gamescope;
};
mangohud = final.callPackage ./pkgs/mangohud {
libXNVCtrl = linuxPackages_jovian.nvidia_x11.settings.libXNVCtrl;
mangohud32 = final.pkgsi686Linux.mangohud;
inherit (final.python3Packages) mako;
};
mesa-radv-jupiter = final.callPackage ./pkgs/mesa-radv-jupiter {
# Compat with the inputs from Nixpkgs; those are for Darwin.
OpenGL = null;
Xplugin = null;
};
jupiter-fan-control = final.callPackage ./pkgs/jupiter-fan-control { };
jupiter-hw-support = final.callPackage ./pkgs/jupiter-hw-support { };
steamdeck-hw-theme = final.callPackage ./pkgs/jupiter-hw-support/theme.nix { };
steamdeck-firmware = final.callPackage ./pkgs/jupiter-hw-support/firmware.nix { };
steamdeck-bios-fwupd = final.callPackage ./pkgs/jupiter-hw-support/bios-fwupd.nix { };
jupiter-dock-updater-bin = final.callPackage ./pkgs/jupiter-dock-updater-bin { };
opensd = super.callPackage ./pkgs/opensd { };
steamPackages = super.steamPackages.overrideScope (scopeFinal: scopeSuper: {
steam = final.callPackage ./pkgs/steam-jupiter/unwrapped.nix {
steam-original = scopeSuper.steam;
};
steam-fhsenv = final.callPackage ./pkgs/steam-jupiter/fhsenv.nix {
steam-fhsenv = scopeSuper.steam-fhsenv;
};
steam-fhsenv-small = final.callPackage ./pkgs/steam-jupiter/fhsenv.nix {
steam-fhsenv = scopeSuper.steam-fhsenv-small;
};
});
sdgyrodsu = final.callPackage ./pkgs/sdgyrodsu { };
}