25 lines
364 B
Nix
25 lines
364 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; [ wineWowPackages.waylandFull ];
|
|
};
|
|
}
|