1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-22 18:21:58 +01:00
github.com-tboerger-nixos-c.../shared/programs/steam.nix
2024-01-30 14:00:26 +01:00

27 lines
350 B
Nix

{ pkgs, lib, config, options, ... }:
with lib;
let
cfg = config.personal.programs.steam;
in
{
options = {
personal = {
programs = {
steam = {
enable = mkEnableOption "Steam";
};
};
};
};
config = mkIf cfg.enable {
programs = {
steam = {
enable = true;
};
};
};
}