summaryrefslogtreecommitdiff
path: root/hm/soft
diff options
context:
space:
mode:
authoradikro </run/secrets/git/email>2026-02-08 18:23:09 +0100
committeradikro </run/secrets/git/email>2026-02-08 18:23:09 +0100
commitf3ddb99147429c666aa5ec0416161a0b9191dcfd (patch)
treea37324241f8924d231d3b7b247b128d169c4f6c3 /hm/soft
parent2c8a4dd99efd61298bc18393e7fcbf6063db8671 (diff)
...
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";
};
};
}