mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-15 13:27:17 +00:00
24 lines
357 B
Nix
24 lines
357 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 {
|
|
extraLibraries = pkgs: [
|
|
pixman
|
|
];
|
|
extraPkgs = pkgs: [
|
|
jdk
|
|
];
|
|
})
|
|
];
|
|
};
|
|
}
|