22 lines
427 B
Nix
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
|
|
];
|
|
};
|
|
}
|