mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 05:12:56 +00:00
16 lines
292 B
Nix
16 lines
292 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
let cfg = config.modules.gaming.steam;
|
|
|
|
in {
|
|
|
|
options.modules.gaming.steam = { enable = mkEnableOption "Steam"; };
|
|
|
|
config = mkIf cfg.enable {
|
|
hardware.steam-hardware.enable = true;
|
|
environment.systemPackages = with pkgs; [ steam ];
|
|
};
|
|
|
|
}
|