diff options
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,9 @@ | |||
1 | { config, pkgs, ... }: | 1 | { config, pkgs, ... }: |
2 | 2 | ||
3 | { | 3 | let |
4 | prosodyModules = callPackage (import ./custom/prosody-modules.nix) { modules = [ "mod_auth_pam" | ||
5 | ] }; | ||
6 | in { | ||
4 | imports = | 7 | imports = |
5 | [ | 8 | [ |
6 | ./ymir-hw.nix | 9 | ./ymir-hw.nix |
@@ -78,6 +81,7 @@ | |||
78 | ]; | 81 | ]; |
79 | allowRegistration = false; | 82 | allowRegistration = false; |
80 | extraConfig = '' | 83 | extraConfig = '' |
84 | plugin_paths = { ${prosodyModules} } | ||
81 | authentication = "pam" | 85 | authentication = "pam" |
82 | log = "syslog" | 86 | log = "syslog" |
83 | ''; | 87 | ''; |