14 lines
305 B
Nix
14 lines
305 B
Nix
{ lib, config, pkgs, ... }:
|
|
|
|
let
|
|
inherit (lib) mkIf mkEnableOption;
|
|
cfg = config.homeModules.desktop.gaming.lutris;
|
|
in
|
|
|
|
{
|
|
options.homeModules.desktop.gaming.lutris.enable = mkEnableOption "Enable lutris home-manager module";
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = [ pkgs.lutris ];
|
|
};
|
|
}
|