nixos-config/modules/workstation/home-manager/games.nix

16 lines
230 B
Nix
Raw Normal View History

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