Cleanup
This commit is contained in:
@@ -16,7 +16,9 @@ let
|
||||
basePathConfigs =
|
||||
lib.mapAttrsToList (_: cfg: cfg) (lib.filterAttrs (name: _: name != "config" && name != "data") serverCfg.path);
|
||||
runtimePathConfigs = concatRuntimeLists "paths";
|
||||
allSetupConfigs = map (app: ({ name = app.name; envFile = ""; } // app.runtime.setup)) appsList;
|
||||
allSetupConfigs = builtins.filter
|
||||
(setup: setup.script != null)
|
||||
(map (app: ({ name = app.name; envFile = [ ]; } // app.runtime.setup)) appsList);
|
||||
allCronsConfigs = concatRuntimeLists "cron";
|
||||
allVMConfigs = builtins.filter (app: app.runtime.vm != null) appsList;
|
||||
mkPathSetup = cfg:
|
||||
|
||||
Reference in New Issue
Block a user