feat(homeModule:lutris): lutris configuration init

This commit is contained in:
ooks-io 2024-05-12 13:48:59 +12:00
parent f9915fbb1d
commit 8f67be9e68
2 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,14 @@
{ 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 ];
};
}