sops
This commit is contained in:
@@ -11,7 +11,6 @@ in {
|
||||
ip = containerCfg.ip;
|
||||
secret = "collabora";
|
||||
extraEnv = {
|
||||
"username" = "COLLABORA_USER";
|
||||
"aliasgroup1" = "https://${serverCfg.containers.nextcloud.subdomain}.${serverCfg.hostDomain}";
|
||||
"server_name" = "${containerCfg.subdomain}.${serverCfg.hostDomain}";
|
||||
"VIRTUAL_HOST" = "${containerCfg.subdomain}.${serverCfg.hostDomain}";
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
let
|
||||
listNames = config.syscfg.server.db;
|
||||
containerNames = lib.mapAttrsToList (name: cfg: name)
|
||||
(lib.filterAttrs (name: cfg: cfg.db or false) config.syscfg.server.containers);
|
||||
(lib.filterAttrs (name: cfg: cfg.db or cfg.sops or false) config.syscfg.server.containers);
|
||||
allApps = lib.unique (listNames ++ containerNames);
|
||||
in{
|
||||
config = lib.mkIf (config.syscfg.server.sops) {
|
||||
|
||||
Reference in New Issue
Block a user