mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 16:32:56 +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 ];
|
|
};
|
|
|
|
}
|