dotfiles/modules/gaming/lutris.nix

15 lines
265 B
Nix
Raw Normal View History

2022-04-26 23:59:55 +00:00
{ config, pkgs, lib, ... }:
2022-04-26 01:54:53 +00:00
2022-04-26 23:59:55 +00:00
with lib;
let cfg = config.modules.gaming.lutris;
2022-04-26 01:54:53 +00:00
2022-04-26 23:59:55 +00:00
in {
2022-04-26 01:54:53 +00:00
2022-04-27 13:23:26 +00:00
options.modules.gaming.lutris = { enable = mkEnableOption "Lutris"; };
2022-04-26 23:59:55 +00:00
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ lutris amdvlk wine ];
};
2022-04-26 01:54:53 +00:00
}