diff options
author | tv <tv@krebsco.de> | 2016-02-21 06:39:12 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-21 06:42:01 +0100 |
commit | c5f18dfdfe9874ba48834447c8d3259b115c1357 (patch) | |
tree | fe287c1b75a61e80dbff3dd63b5fe094aff5c2da /tv/3modules/ejabberd | |
parent | e4d427602c229a782297a74b50b2f67524e9e0d6 (diff) |
tv.{charybdis,ejabberd}.user :: user
Diffstat (limited to 'tv/3modules/ejabberd')
-rw-r--r-- | tv/3modules/ejabberd/default.nix | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/tv/3modules/ejabberd/default.nix b/tv/3modules/ejabberd/default.nix index 51a3060fd..4077da286 100644 --- a/tv/3modules/ejabberd/default.nix +++ b/tv/3modules/ejabberd/default.nix @@ -30,19 +30,11 @@ in { default = cfg.certfile; }; user = mkOption { - type = types.submodule { - options = { - name = mkOption { - type = types.str; - default = "ejabberd"; - }; - home = mkOption { - type = types.str; - default = "/var/ejabberd"; - }; - }; + type = types.user; + default = { + name = "ejabberd"; + home = "/var/ejabberd"; }; - default = {}; }; }; config = lib.mkIf cfg.enable { |