mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-30 02:15:38 +00:00
15 lines
265 B
Nix
15 lines
265 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
let cfg = config.modules.gaming.lutris;
|
|
|
|
in {
|
|
|
|
options.modules.gaming.lutris = { enable = mkEnableOption "Lutris"; };
|
|
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [ lutris amdvlk wine ];
|
|
};
|
|
|
|
}
|