From 13ee5dc830304a7a3fb502210fee92add69dea97 Mon Sep 17 00:00:00 2001 From: Aner Zakobar Date: Sun, 27 Apr 2025 09:56:36 +0300 Subject: [PATCH] Y'all good steam --- modules/home-manager/default.nix | 1 + modules/home-manager/steam.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100755 modules/home-manager/steam.nix diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index 55ac945..b7f1cc0 100755 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -8,5 +8,6 @@ ./qutebrowser-config.nix ./audio.nix ./reaper.nix + ./steam.nix ]; } diff --git a/modules/home-manager/steam.nix b/modules/home-manager/steam.nix new file mode 100755 index 0000000..e973e1a --- /dev/null +++ b/modules/home-manager/steam.nix @@ -0,0 +1,17 @@ +{ lib, config, pkgs, ... }: +let + isEnabled = + config.azos.steam.enable; +in { + options.azos.steam.enable = lib.mkOption { + default = true; + example = true; + type = lib.types.bool; + }; + + config = lib.mkIf isEnabled { + home.packages = with pkgs; [ + steam + ]; + }; +}