diff options
author | Vincent Ambo <mail@tazj.in> | 2020-11-08T01·41+0100 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2020-11-08T18·38+0000 |
commit | cbfcf14301cc9f2f8b5dff467b686acd5310fc46 (patch) | |
tree | 6e9281fca52a9e396deab7a621aa98d43abff1a1 /fun/logo | |
parent | 8a6d00aceb48d428a1d12d06f2db62dcccb4ae13 (diff) |
feat(ops/irccat): Add a NixOS module for launching irccat r/1875
This module configures irccat by creating a JSON configuration file from a user-supplied Nix struct (this is not checked for correctness), and merging it recursively with secrets from `/etc/secrets/irccat.json` at service launch time. This way we get the ability to configure (most) options declaratively via Nix, while providing the secrets outside of Nix. Side note: We need to figure out a secrets distribution mechanism. Tested: Wrote a dummy config in whitby/default.nix locally and checked that this builds, but I have not actually run the service yet. I expect that some minor tweaks will end up being necessary. Change-Id: I02a2e8dc40a7f8417fd77afcf8a12ac3df117988 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2074 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'fun/logo')
0 files changed, 0 insertions, 0 deletions