mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 01:05:38 +00:00
20 lines
389 B
Nix
20 lines
389 B
Nix
{ config, pkgs, lib, ... }: {
|
|
|
|
options.gaming.steam = lib.mkEnableOption "Steam";
|
|
|
|
config = lib.mkIf config.gaming.steam {
|
|
hardware.steam-hardware.enable = true;
|
|
unfreePackages = [ "steam" "steam-original" "steamcmd" ];
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
steam
|
|
|
|
# Enable terminal interaction
|
|
steamPackages.steamcmd
|
|
steam-tui
|
|
|
|
];
|
|
};
|
|
|
|
}
|