nixos/home/modules/lutris.nix
2024-11-24 16:08:59 -08:00

19 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
];
};
}