2022-03-24 07:50:15 +01:00
|
|
|
{pkgs, lib, config, ...}:
|
2022-03-24 07:18:25 +01:00
|
|
|
with lib; let
|
2022-11-30 04:29:21 +01:00
|
|
|
cfg = config.local.apps.steam;
|
2022-03-24 07:18:25 +01:00
|
|
|
in {
|
2022-11-30 04:29:21 +01:00
|
|
|
options.local.apps.steam.enable = mkEnableOption "Steam";
|
2022-03-24 07:18:25 +01:00
|
|
|
config = mkIf cfg.enable {
|
|
|
|
home.packages = [
|
2022-03-24 07:50:15 +01:00
|
|
|
(pkgs.callPackage ./package.nix {})
|
2022-11-30 04:47:43 +01:00
|
|
|
pkgs.protonup
|
2022-03-24 07:18:25 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|