Skip to content

Commit

Permalink
Geonix configuration template update
Browse files Browse the repository at this point in the history
  • Loading branch information
imincik committed Jan 25, 2024
1 parent 42972a2 commit bc24d77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions src/HomePage.elm
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,19 @@ configTemplate =
let
geopkgs = inputs.geonix.packages.${pkgs.system};
packages = [ <PACKAGES> ];
python = pkgs.python3.withPackages (p: [ <PY-PACKAGES> ]);
pgExtensions = [ <PG-PACKAGES> ];
in {
name = "<NAME>";
packages = packages;
packages = [ <PACKAGES> ];
languages.python = {
enable = <PYTHON-ENABLED>;
package = python;
package = pkgs.python3.withPackages (p: [ <PY-PACKAGES> ]);
};
services.postgres = {
enable = if config.container.isBuilding then false else <POSTGRES-ENABLED>;
extensions = e: pgExtensions;
extensions = e: [ <PG-PACKAGES> ];
};
enterShell = ''
Expand Down
2 changes: 1 addition & 1 deletion src/elm.js
Original file line number Diff line number Diff line change
Expand Up @@ -5208,7 +5208,7 @@ var $elm$browser$Browser$sandbox = function (impl) {
view: impl.view
});
};
var $author$project$HomePage$configTemplate = '\n{ inputs, config, pkgs, lib, ... }:\n\nlet\n geopkgs = inputs.geonix.packages.${pkgs.system};\n\n packages = [ <PACKAGES> ];\n python = pkgs.python3.withPackages (p: [ <PY-PACKAGES> ]);\n pgExtensions = [ <PG-PACKAGES> ];\n\nin {\n name = "<NAME>";\n\n packages = packages;\n\n languages.python = {\n enable = <PYTHON-ENABLED>;\n package = python;\n };\n\n services.postgres = {\n enable = if config.container.isBuilding then false else <POSTGRES-ENABLED>;\n extensions = e: pgExtensions;\n };\n\n enterShell = \'\'\n <SHELL-HOOK>\n \'\';\n}\n';
var $author$project$HomePage$configTemplate = '\n{ inputs, config, pkgs, lib, ... }:\n\nlet\n geopkgs = inputs.geonix.packages.${pkgs.system};\n\nin {\n name = "<NAME>";\n\n packages = [ <PACKAGES> ];\n\n languages.python = {\n enable = <PYTHON-ENABLED>;\n package = pkgs.python3.withPackages (p: [ <PY-PACKAGES> ]);\n };\n\n services.postgres = {\n enable = if config.container.isBuilding then false else <POSTGRES-ENABLED>;\n extensions = e: [ <PG-PACKAGES> ];\n };\n\n enterShell = \'\'\n <SHELL-HOOK>\n \'\';\n}\n';
var $elm$core$String$replace = F3(
function (before, after, string) {
return A2(
Expand Down

0 comments on commit bc24d77

Please sign in to comment.