Add lutris

This commit is contained in:
ItsDrike 2024-08-26 16:56:31 +02:00
parent 618144c7ac
commit 8f6d4073b0
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
4 changed files with 22 additions and 0 deletions

View file

@ -1,5 +1,6 @@
_: { _: {
imports = [ imports = [
./prismlauncher.nix ./prismlauncher.nix
./lutris.nix
]; ];
} }

View file

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

View file

@ -234,6 +234,7 @@
}; };
games = { games = {
steam.enable = true; steam.enable = true;
lutris.enable = true;
prismlauncher.enable = true; prismlauncher.enable = true;
}; };
}; };

View file

@ -65,6 +65,7 @@ in {
games = { games = {
steam.enable = mkEnableOption "Steam client"; steam.enable = mkEnableOption "Steam client";
lutris.enable = mkEnableOption "Lutris (Open Gaming Platform for Linux)";
prismlauncher.enable = mkEnableOption "PrismLauncher"; prismlauncher.enable = mkEnableOption "PrismLauncher";
}; };