1

formatting

This commit is contained in:
Motiejus Jakštys 2024-01-15 16:22:14 +02:00
parent 185669d69b
commit da98436a74

View File

@ -77,13 +77,12 @@
'';
};
# Run e11sync tools from the nix store
apps = {
e11sync-frontend = {
type = "app";
name = "e11sync-frontend";
program = let
caddyFile = pkgs.writeTextFile {
program = toString (pkgs.writeShellScript "wrapper" ''
exec ${pkgs.caddy}/bin/caddy run --config ${pkgs.writeTextFile {
name = "Caddyfile";
text = ''
{
@ -92,14 +91,9 @@
debug
}
:8001
${builtins.readFile "${e11sync-frontend}"}
'';
};
in
toString (pkgs.writeShellScript "wrapper" ''
exec ${pkgs.caddy}/bin/caddy run --config ${caddyFile} --adapter caddyfile
'');
}} --adapter caddyfile'');
};
e11sync-backend = {
type = "app";
@ -122,8 +116,7 @@
python3Packages.django-debug-toolbar
python3Packages.flake8
# TODO: vim integration via EXITINT?
# see 'make check'
# TODO: vim integration via EXITINT? See make check
python3Packages.autopep8
];
GEOIP_PATH = "${geoip-mmdb}";