From 9d9f52a508fbf7ec195594436902f4ed579c79c5 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 16 Sep 2018 19:49:54 +0200 Subject: reaktor-krebs: configure nickserv password --- krebs/2configs/reaktor-krebs.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'krebs/2configs') diff --git a/krebs/2configs/reaktor-krebs.nix b/krebs/2configs/reaktor-krebs.nix index ba3715161..dc2838cae 100644 --- a/krebs/2configs/reaktor-krebs.nix +++ b/krebs/2configs/reaktor-krebs.nix @@ -10,6 +10,7 @@ with import ; ]; extraEnviron = { REAKTOR_HOST = "irc.freenode.org"; + REAKTOR_NICKSERV_PASSWORD = "/var/lib/Reaktor/reaktor_nickserv_password"; }; plugins = with pkgs.ReaktorPlugins; [ sed-plugin @@ -21,4 +22,9 @@ with import ; (attrValues (todo "agenda")) ; }; + krebs.secret.files.nix-serve-key = { + path = "/var/lib/Reaktor/reaktor_nickserv_password"; + owner.name = "Reaktor"; + source-path = toString + "/reaktor_nickserv_password"; + }; } -- cgit v1.2.3