This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / configs / hermes-voice-vars.nix
671 B 20 lines
1{ pkgs, ... }: 2{ 3 # Bearer token of hermes-voice's API routes. Shared: coaxmetal 4 # (machines/coaxmetal/hermes-voice.nix) checks it, neoprism 5 # (configs/hermes-proxy.nix) adds it to logged-in requests to 6 # assist.lassul.us. Both machines import this file so the shared generator 7 # definition stays identical. Read it out for clients on retiolum with 8 # clan vars get coaxmetal hermes-voice/access-token 9 clan.core.vars.generators.hermes-voice = { 10 share = true; 11 files."access-token" = { }; 12 runtimeInputs = [ 13 pkgs.coreutils 14 pkgs.openssl 15 ]; 16 script = '' 17 openssl rand -hex 32 | tr -d '\n' > "$out/access-token" 18 ''; 19 }; 20}