aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gaming/steam.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gaming/steam.nix')
-rw-r--r--modules/gaming/steam.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/gaming/steam.nix b/modules/gaming/steam.nix
new file mode 100644
index 0000000..d1944d5
--- /dev/null
+++ b/modules/gaming/steam.nix
@@ -0,0 +1,22 @@
+{
+ config,
+ pkgs,
+ lib,
+ ...
+}:
+
+# Steam - game store
+{
+ options.gaming.steam = {
+ enable = lib.mkEnableOption "Enables steam.";
+ package = lib.mkOption {
+ type = lib.types.package;
+ default = pkgs.steam;
+ description = "Package for steam app.";
+ };
+ };
+
+ config = lib.mkIf config.gaming.steam.enable {
+ home.packages = [ config.gaming.steam.package ];
+ };
+}