mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
19 lines
357 B
Nix
19 lines
357 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; {
|
|
options.elss.steam-run.enable = mkEnableOption "configure steam-run to support unpatched binaries";
|
|
|
|
config = let
|
|
cfg = config.elss.steam-run;
|
|
in
|
|
mkIf cfg.enable {
|
|
environment.systemPackages = [
|
|
(pkgs.unstable.steam.override {extraPkgs = pkgs: [pkgs.jdk8];}).run
|
|
];
|
|
};
|
|
}
|