Files
nix-config/osConfigs/modules/game.nix
tomoron fbc24916b5
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m10s
refactor os configurations
2025-09-06 01:27:10 +02:00

27 lines
1.2 KiB
Nix

# **************************************************************************** #
# #
# ::: :::::::: #
# game.nix :+: :+: :+: #
# +:+ +:+ +:+ #
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/09/05 23:47:09 by tomoron #+# #+# #
# Updated: 2025/09/05 23:54:57 by tomoron ### ########.fr #
# #
# **************************************************************************** #
{config, lib, ... }:
{
options.mods.gayming.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "enable steam and other";
};
config = lib.mkIf config.mods.gayming.enable {
programs.steam.enable = true;
programs.steam.protontricks.enable = true;
};
}