diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-14 19:38:49 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-14 19:42:36 +0530 |
| commit | ce1694f53d6a2465658f1bde9dacff66ffed031c (patch) | |
| tree | 6edb8e7d1e067ef061bc9116347a03c1444fea42 /modules/gaming/steam.nix | |
| parent | 77bc32332d99636666daa1a7bea8f7265675a5f9 (diff) | |
| download | home-manager-config-ce1694f53d6a2465658f1bde9dacff66ffed031c.tar.gz home-manager-config-ce1694f53d6a2465658f1bde9dacff66ffed031c.zip | |
refactor: refactored the configuration for gaming
Diffstat (limited to 'modules/gaming/steam.nix')
| -rw-r--r-- | modules/gaming/steam.nix | 22 |
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 ]; + }; +} |
