mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 17:54:35 +00:00
Add lutris
This commit is contained in:
parent
618144c7ac
commit
8f6d4073b0
|
@ -1,5 +1,6 @@
|
||||||
_: {
|
_: {
|
||||||
imports = [
|
imports = [
|
||||||
./prismlauncher.nix
|
./prismlauncher.nix
|
||||||
|
./lutris.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
19
home/programs/graphical/games/lutris.nix
Normal file
19
home/programs/graphical/games/lutris.nix
Normal 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: [];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -234,6 +234,7 @@
|
||||||
};
|
};
|
||||||
games = {
|
games = {
|
||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
|
lutris.enable = true;
|
||||||
prismlauncher.enable = true;
|
prismlauncher.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue