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 + ]; + }; +}