dotfiles/modules/profiles/gaming.nix

23 lines
335 B
Nix
Raw Normal View History

2023-05-11 17:33:14 +02:00
{ lib
, config
, pkgs
2022-07-15 13:11:54 +02:00
, ...
2023-05-11 17:33:14 +02:00
}:
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
];
};
2022-07-15 13:11:54 +02:00
}