mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 05:54:54 +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 ];
|
|
};
|
|
|
|
}
|