formatting
This commit is contained in:
parent
185669d69b
commit
da98436a74
15
flake.nix
15
flake.nix
|
@ -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}";
|
||||
|
|
Loading…
Reference in New Issue