This commit is contained in:
Shelvacu
2025-05-10 23:59:19 -07:00
committed by Shelvacu on fw
parent 6a7f44f4a2
commit 9b7b04ebd9

View File

@@ -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} = {