nixos-config/modules/games/default.nix
2022-02-13 13:23:13 +01:00

27 lines
486 B
Nix

{ config, lib, ... }:
{
imports = [
./minecraft
./mumble
./particles
./steam
./teeworlds
./tetris
./zeroad
];
options.chvp.games.enable = lib.mkOption {
default = false;
example = true;
};
config = lib.mkIf config.chvp.games.enable {
chvp.games = {
minecraft.client = lib.mkDefault true;
mumble.enable = lib.mkDefault true;
steam.enable = lib.mkDefault true;
zeroad.client = lib.mkDefault true;
};
};
}