17 lines
351 B
Nix
17 lines
351 B
Nix
{ lib, config, pkgs, ... }:
|
|
let
|
|
inherit (lib) mkIf mkOption types;
|
|
in
|
|
{
|
|
options.smayzy.steam.enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = "steam support";
|
|
};
|
|
|
|
config = mkIf config.smayzy.steam.enable {
|
|
programs.steam.enable = true;
|
|
environment.systemPackages = with pkgs; [ samrewritten ];
|
|
};
|
|
}
|