nixos-config/modules/games/default.nix
Charlotte Van Petegem 0fc6c32a47
Reorganize repository
2021-07-10 09:03:38 +02:00

26 lines
470 B
Nix

{ config, lib, ... }:
{
imports = [
./minecraft
./mumble
./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;
};
};
}