aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gaming/steam
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-18 15:29:03 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-18 15:29:03 +0530
commitfef4ae3023a602f6379357b11382fd5ca53e73e5 (patch)
treea8b3e1d49903348e527fc5918a062150c8db3038 /modules/gaming/steam
parent7f9c31ecad41ab7d9679f7c0bd34e06d98695b78 (diff)
downloadhome-manager-config-fef4ae3023a602f6379357b11382fd5ca53e73e5.tar.gz
home-manager-config-fef4ae3023a602f6379357b11382fd5ca53e73e5.zip
refactor(gaming): extract heroic into its own module, nest steam/heroic into subdirectories
Create modules/gaming/heroic/default.nix with gaming.heroic.{enable,package} options, including gamemode LD_LIBRARY_PATH wrapping and mime handler Move steam.nix → steam/default.nix and heroic.nix → heroic/default.nix Strip heroic out of the gaming.launcher bundle in default.nix
Diffstat (limited to 'modules/gaming/steam')
-rw-r--r--modules/gaming/steam/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/gaming/steam/default.nix b/modules/gaming/steam/default.nix
new file mode 100644
index 0000000..ba3cf0f
--- /dev/null
+++ b/modules/gaming/steam/default.nix
@@ -0,0 +1,21 @@
+# Steam - game store
+{
+ config,
+ pkgs,
+ lib,
+ ...
+}:
+{
+ 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 ];
+ };
+}