bonfire/modules/desktop/gaming/lutris.nix

20 lines
377 B
Nix
Raw Normal View History

2023-06-06 23:18:09 +05:00
{ config, options, lib, pkgs, ... }:
with lib;
with lib.custom;
let
cfg = config.modules.desktop.gaming.lutris;
in {
options.modules.desktop.gaming.lutris = {
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {
user.packages = with pkgs; [
lutris
wine
winetricks
gamemode
];
};
}