about summary refs log tree commit diff
path: root/nixos/socrates
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-06-30T19·01+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-06-30T19·01+0100
commita276eddf54b1f00922b7b03e9c788b12b3b2a527 (patch)
tree4dcbb25569549b9e01625779215c9a2e1f090977 /nixos/socrates
parent6cb921739da6fe3b34000d8aa4080bf61b4797cd (diff)
Add auth to bitlbee
Use Linux's PAM for Bitlbee's auth.
Diffstat (limited to 'nixos/socrates')
-rw-r--r--nixos/socrates/configuration.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/socrates/configuration.nix b/nixos/socrates/configuration.nix
index 0af4a314191d..24013e4145ab 100644
--- a/nixos/socrates/configuration.nix
+++ b/nixos/socrates/configuration.nix
@@ -100,6 +100,8 @@ in {
   nixpkgs.config.bitlbee.enableLibPurple = true;
   services.bitlbee = {
     interface = "0.0.0.0";
+    authBackend = "pam";
+    authMode = "Registered";
     enable = true;
     libpurple_plugins = [
       pkgs.telegram-purple