gaming: Add gaming-specific packages and settings
This commit is contained in:
14
modules/programs/gaming/default.nix
Normal file
14
modules/programs/gaming/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user