Commit 3fe4c65ab504

Vincent Demeester <vincent@sbr.pm>
2026-10-20 14:27:50
feat(dots): enable Raffi Slack search
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent f5f44ce
Changed files (2)
dots
config
home
common
dots/config/raffi/raffi.yaml
@@ -33,6 +33,11 @@ addons:
     enabled: true
   file_browser:
     enabled: true
+  slack:
+    enabled: true
+    token_command: "passage show redhat/slack/token"
+    cookie_command: "passage show redhat/slack/cookie"
+    open_in: desktop
   script_filters:
   - name: Timezones
     keyword: tz
home/common/desktop/passage.nix
@@ -5,6 +5,13 @@
     "PASSAGE_IDENTITIES_FILE" = "${config.xdg.dataHome}/passage/identities";
   };
 
+  # Niri is started by systemd --user, so it cannot inherit shell-only
+  # session variables. Export the Passage paths to its environment as well.
+  xdg.configFile."environment.d/90-passage.conf".text = ''
+    PASSAGE_DIR=${config.xdg.dataHome}/passage
+    PASSAGE_IDENTITIES_FILE=${config.xdg.dataHome}/passage/identities
+  '';
+
   home.packages = with pkgs; [
     pass-run
     passage