nix-config/modules/programs/steam.nix

16 lines
255 B
Nix
Raw Normal View History

2021-09-15 16:48:39 +02:00
{ config, lib, ... }:
let
cfg = config.my.programs.steam;
in
{
options.my.programs.steam = with lib; {
enable = mkEnableOption "steam configuration";
};
config = lib.mkIf cfg.enable {
programs.steam = {
enable = true;
};
};
}