mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 07:32:55 +00:00
12 lines
272 B
Nix
12 lines
272 B
Nix
{ config, pkgs, lib, ... }: {
|
|
|
|
options.gaming.steam = lib.mkEnableOption "Steam";
|
|
|
|
config = lib.mkIf config.gaming.steam {
|
|
hardware.steam-hardware.enable = true;
|
|
nixpkgs.config.allowUnfree = true;
|
|
environment.systemPackages = with pkgs; [ steam ];
|
|
};
|
|
|
|
}
|