mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 21:15:37 +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 ];
|
|
};
|
|
|
|
}
|