2022-03-24 07:50:15 +01:00
|
|
|
{pkgs, lib, config, ...}:
|
2022-03-24 07:18:25 +01:00
|
|
|
with lib; let
|
|
|
|
cfg = config.programs.steam;
|
|
|
|
in {
|
|
|
|
options = {
|
|
|
|
programs.steam.enable = mkEnableOption "Weather to enable option or not.";
|
|
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
home.packages = [
|
2022-03-24 07:50:15 +01:00
|
|
|
(pkgs.callPackage ./package.nix {})
|
2022-03-24 07:18:25 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|