nixos-config/modules/programs/gaming/default.nix

15 lines
328 B
Nix
Raw Normal View History

{ 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
];
};
}