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