20 lines
348 B
Nix
20 lines
348 B
Nix
|
{ lib, config, pkgs, inputs, ... }:
|
||
|
|
||
|
let
|
||
|
cfg = config.snowhawk.lutris;
|
||
|
in
|
||
|
{
|
||
|
options.snowhawk.lutris = {
|
||
|
enable = lib.mkEnableOption "lutris";
|
||
|
};
|
||
|
|
||
|
config = lib.mkIf cfg.enable {
|
||
|
home.packages = [
|
||
|
(inputs.umu.packages.${pkgs.system}.umu.override
|
||
|
{ version = "${inputs.umu.shortRev}"; })
|
||
|
|
||
|
pkgs.lutris
|
||
|
];
|
||
|
};
|
||
|
}
|