stuff
This commit is contained in:
@@ -118,7 +118,7 @@ in
|
||||
options.services.genieacs = {
|
||||
defaults = mkOption {
|
||||
type = types.deferredModule;
|
||||
default = [];
|
||||
default = {};
|
||||
};
|
||||
user = mkOption {
|
||||
type = types.str;
|
||||
@@ -212,6 +212,10 @@ in
|
||||
message = "services.genieacs.${name}: sslCert and sslKey must either both be null or both be non-null";
|
||||
}
|
||||
);
|
||||
services.genieacs.cwmp = cfg.defaults;
|
||||
services.genieacs.nbi = cfg.defaults;
|
||||
services.genieacs.fs = cfg.defaults;
|
||||
services.genieacs.ui = cfg.defaults;
|
||||
}
|
||||
(lib.mkIf enableAny {
|
||||
users.users.${cfg.user} = {
|
||||
|
Reference in New Issue
Block a user