From f3ddb99147429c666aa5ec0416161a0b9191dcfd Mon Sep 17 00:00:00 2001 From: adikro Date: Sun, 8 Feb 2026 18:23:09 +0100 Subject: ... --- hm/soft/obs.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'hm/soft/obs.nix') diff --git a/hm/soft/obs.nix b/hm/soft/obs.nix index 8d968e4..235187c 100644 --- a/hm/soft/obs.nix +++ b/hm/soft/obs.nix @@ -2,13 +2,10 @@ config, lib, pkgs, - osConfig, ... }: let cfg = config.hm.soft.obs; - - obsPass = osConfig.sops.placeholdder."obs/websocket_password" or null; in { options.hm.soft.obs.enable = lib.mkEnableOption "enables obs video recording and clipping"; @@ -22,8 +19,8 @@ in home.packages = [ pkgs.obs-cmd ]; - home.sessionVariables = lib.mkIf (obsPass != null) { - OBS_WEBSOCKET_URL = obsPass; + home.sessionVariables = { + OBS_WEBSOCKET_URL = "/run/secrets/obs/password"; }; }; } -- cgit v1.3