nixos-config/modules/nixos/submodules/games/default.nix
christoph.hollizeck 16770c5d67 bugs
2024-03-26 19:23:10 +01:00

26 lines
448 B
Nix

{ options, config, lib, pkgs, ... }:
with lib;
with lib.wyrdgard;
let
cfg = config.wyrdgard.submodules.games;
in
{
options.wyrdgard.submodules.games = with types; {
enable = mkBoolOpt false "Whether or not you want to enable steam and other games";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
prismlauncher
];
wyrdgard = {
apps = {
steam = enabled;
};
};
};
}