dotfiles/modules/nixos/gaming/lutris.nix

19 lines
365 B
Nix
Raw Permalink Normal View History

2024-04-20 13:42:06 +00:00
{
config,
pkgs,
lib,
...
}:
{
2022-04-26 01:54:53 +00:00
2022-12-21 21:18:03 +00:00
options.gaming.lutris.enable = lib.mkEnableOption "Lutris game installer.";
2022-04-26 01:54:53 +00:00
2022-12-21 21:18:03 +00:00
config = lib.mkIf config.gaming.lutris.enable {
2022-05-28 14:34:00 +00:00
environment.systemPackages = with pkgs; [
lutris
amdvlk # Vulkan drivers (probably already installed)
wineWowPackages.stable # 32-bit and 64-bit wineWowPackages
];
2022-04-26 23:59:55 +00:00
};
2022-04-26 01:54:53 +00:00
}