2024-08-02 23:44:40 +02:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib;
|
|
|
|
{
|
2024-08-14 22:43:28 +02:00
|
|
|
options.my.games = {
|
|
|
|
wine.enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
steam.enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = false;
|
|
|
|
};
|
2024-08-02 23:44:40 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf config.my.games.wine.enable { home.packages = with pkgs; [ wine ]; };
|
|
|
|
}
|