2022-02-02 11:08:36 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.ptw.programs.gaming;
|
|
|
|
in {
|
|
|
|
options.ptw.programs.gaming = {
|
|
|
|
enable = lib.mkEnableOption "Configure gaming options";
|
|
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
environment.systemPackages = with pkgs; [
|
2022-02-02 14:55:38 +00:00
|
|
|
winePackages.stagingFull winetricks lutris-free-wrapped
|
2022-02-02 11:08:36 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|