gaming: Add gaming-specific packages and settings

This commit is contained in:
2022-02-02 12:08:36 +01:00
parent 3bc1c21b4c
commit e80232bb39
3 changed files with 64 additions and 30 deletions

View File

@@ -0,0 +1,14 @@
{ 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; [
winePackages.stagingFull winetricks
];
};
}