From b6eeb2d9fb697a46ec6f75027b970977a9afead9 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Sun, 9 Feb 2025 14:37:19 -0600 Subject: [PATCH] disabled switch precense, since I lend my switch to my cousin --- modules/apps/gaming.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/apps/gaming.nix b/modules/apps/gaming.nix index 030d758..1b14238 100644 --- a/modules/apps/gaming.nix +++ b/modules/apps/gaming.nix @@ -12,12 +12,12 @@ switch.enable = lib.mkEnableOption "enable"; }; config = lib.mkIf config.my.apps.gaming.enable { - sops.secrets.switch-presence = { - sopsFile = ../../secrets/env.yaml; - format = "dotenv"; - owner = config.users.users.jawz.name; - inherit (config.users.users.jawz) group; - }; + # sops.secrets.switch-presence = lib.mkIf config.my.apps.gaming.switch.enable { + # sopsFile = ../../secrets/env.yaml; + # format = "dotenv"; + # owner = config.users.users.jawz.name; + # inherit (config.users.users.jawz) group; + # }; programs = { gamemode.enable = true; steam = { @@ -30,10 +30,10 @@ }; services = lib.mkIf config.my.apps.switch.enable { switch-boot.enable = true; - switch-presence = { - enable = true; - environmentFile = config.sops.secrets.switch-presence.path; - }; + # switch-presence = { + # enable = true; + # environmentFile = config.sops.secrets.switch-presence.path; + # }; }; users.users.jawz.packages = builtins.attrValues { inherit (pkgs)