16 lines
255 B
Nix
16 lines
255 B
Nix
|
{ config, lib, ... }:
|
||
|
let
|
||
|
cfg = config.my.programs.steam;
|
||
|
in
|
||
|
{
|
||
|
options.my.programs.steam = with lib; {
|
||
|
enable = mkEnableOption "steam configuration";
|
||
|
};
|
||
|
|
||
|
config = lib.mkIf cfg.enable {
|
||
|
programs.steam = {
|
||
|
enable = true;
|
||
|
};
|
||
|
};
|
||
|
}
|