dotfiles/modules/profiles/gaming.nix
2023-10-27 19:34:58 +02:00

22 lines
335 B
Nix

{ lib
, config
, pkgs
, ...
}:
with lib;
let
cfg = config.my.profiles.gaming;
in
{
options.my.profiles.gaming.enable = mkEnableOption "Enable gaming profile";
config = mkIf cfg.enable {
programs.steam.enable = true;
environment.systemPackages = with pkgs; [
lutris
legendary-gl
mangohud
];
};
}