tv.{charybdis,ejabberd}.user :: user
This commit is contained in:
parent
e4d427602c
commit
c5f18dfdfe
@ -35,16 +35,7 @@ in {
|
||||
default = 6697;
|
||||
};
|
||||
user = mkOption {
|
||||
type = types.submodule {
|
||||
options = {
|
||||
name = mkOption {
|
||||
type = types.str;
|
||||
};
|
||||
home = mkOption {
|
||||
type = types.str;
|
||||
};
|
||||
};
|
||||
};
|
||||
type = types.user;
|
||||
default = {
|
||||
name = "charybdis";
|
||||
home = "/var/lib/charybdis";
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user