summaryrefslogtreecommitdiff
path: root/hm/soft
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soft')
-rw-r--r--hm/soft/obs.nix7
1 files changed, 2 insertions, 5 deletions
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";
};
};
}