From f3ddb99147429c666aa5ec0416161a0b9191dcfd Mon Sep 17 00:00:00 2001 From: adikro Date: Sun, 8 Feb 2026 18:23:09 +0100 Subject: ... --- hm/conf/git.nix | 2 +- hm/soft/obs.nix | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'hm') diff --git a/hm/conf/git.nix b/hm/conf/git.nix index b297153..09bd9e1 100644 --- a/hm/conf/git.nix +++ b/hm/conf/git.nix @@ -10,7 +10,7 @@ in lfs.enable = true; settings = { user.name = "adikro"; - user.email = "adikro@disroot.org"; + user.email = "/run/secrets/git/email"; init.defaultBranch = "main"; }; }; 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