diff options
| author | adikro </run/secrets/git/email> | 2026-02-08 18:23:09 +0100 |
|---|---|---|
| committer | adikro </run/secrets/git/email> | 2026-02-08 18:23:09 +0100 |
| commit | f3ddb99147429c666aa5ec0416161a0b9191dcfd (patch) | |
| tree | a37324241f8924d231d3b7b247b128d169c4f6c3 /hm | |
| parent | 2c8a4dd99efd61298bc18393e7fcbf6063db8671 (diff) | |
...
Diffstat (limited to 'hm')
| -rw-r--r-- | hm/conf/git.nix | 2 | ||||
| -rw-r--r-- | hm/soft/obs.nix | 7 |
2 files changed, 3 insertions, 6 deletions
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"; }; }; } |
