mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 08:19:42 +00:00
20 lines
277 B
Nix
20 lines
277 B
Nix
|
{
|
||
|
lib,
|
||
|
pkgs,
|
||
|
osConfig,
|
||
|
...
|
||
|
}: let
|
||
|
inherit (lib) mkIf;
|
||
|
|
||
|
cfg = osConfig.myOptions.home-manager.programs.games.lutris;
|
||
|
in {
|
||
|
config = mkIf cfg.enable {
|
||
|
home.packages = with pkgs; [
|
||
|
lutris.override
|
||
|
{
|
||
|
extraPkgs = pkgs: [];
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
}
|