14 lines
285 B
Nix
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 {})
|
||
|
];
|
||
|
};
|
||
|
}
|