nixos-config/modules/workstation/home-manager/games.nix
2024-08-14 22:43:28 +02:00

23 lines
335 B
Nix

{
pkgs,
lib,
config,
...
}:
with lib;
{
options.my.games = {
wine.enable = mkOption {
type = types.bool;
default = false;
};
steam.enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf config.my.games.wine.enable { home.packages = with pkgs; [ wine ]; };
}