17 lines
No EOL
288 B
Nix
17 lines
No EOL
288 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.system.apps.lutris;
|
|
in
|
|
{
|
|
options.modules.system.apps.lutris = {
|
|
enable = mkEnableOption ''
|
|
Enable lutris
|
|
'';
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [ lutris ];
|
|
};
|
|
} |