17 lines
266 B
Nix
17 lines
266 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
pkgs,
|
||
|
...
|
||
|
}: let
|
||
|
cfg = config.marleyos.programs.lutris;
|
||
|
in {
|
||
|
options.marleyos.programs.lutris.enable = lib.mkEnableOption "lutris";
|
||
|
|
||
|
config = lib.mkIf cfg.enable {
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
lutris
|
||
|
];
|
||
|
};
|
||
|
}
|