t14_legacy_config/home/steam/default.nix
Fabián Montero 04d12e36ac añade steam
2022-03-24 00:18:25 -06:00

14 lines
285 B
Nix

{callPackage, lib, config, ...}:
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 = [
(callPackage ./package.nix {})
];
};
}