nixcfg/modules/nixos/apps/lutris/default.nix
2024-01-11 10:31:04 +00:00

22 lines
427 B
Nix

{ options, config, lib, pkgs, ... }:
with lib;
with lib.plusultra;
let
cfg = config.plusultra.apps.lutris;
in
{
options.plusultra.apps.lutris = with types; {
enable = mkBoolOpt false "Whether or not to enable Lutris.";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
lutris
# Needed for some installers like League of Legends
openssl
gnome.zenity
];
};
}