From 1865ef23d25ba0130a3063b24e4640c9ab46a6ef Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 15 Jun 2024 23:32:41 -0400 Subject: [PATCH] apps/steam: enable if desktop/steam session is enabled --- nixosModules/options.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nixosModules/options.nix b/nixosModules/options.nix index e24295d3..c2bd047d 100644 --- a/nixosModules/options.nix +++ b/nixosModules/options.nix @@ -13,8 +13,11 @@ lib.mkEnableOption "Nicotine+ Soulseek client."; podman.enable = lib.mkEnableOption "Podman for OCI container support."; - steam.enable = - lib.mkEnableOption "Valve's Steam for video games."; + steam.enable = lib.mkOption { + description = "Valve's Steam for video games."; + default = config.alyraffauf.desktop.steam.enable; + type = lib.types.bool; + }; virt-manager.enable = lib.mkEnableOption "Virt-manager for virtual machines with TPM and EFI support."; };