23 lines
374 B
Nix
23 lines
374 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 {
|
|
wyrdgard = {
|
|
apps = {
|
|
steam = enabled;
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
}
|