mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
16 lines
346 B
Nix
16 lines
346 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 { withJava = true; }).run
|
|
];
|
|
};
|
|
}
|